index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QueryResellerUserAlarmThresholdResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.QueryResellerUserAlarmThresholdResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class QueryResellerUserAlarmThresholdResponse extends AcsResponse { private Integer count; private Boolean success; private String code; private String message; private String requestId; private List<DataItem> data; public Integer getCount() { return this.count; } public void setCount(Integer count) { this.count = count; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<DataItem> getData() { return this.data; } public void setData(List<DataItem> data) { this.data = data; } public static class DataItem { private Integer thresholdType; private String thresholdAmount; private Integer numerator; private Integer denominator; public Integer getThresholdType() { return this.thresholdType; } public void setThresholdType(Integer thresholdType) { this.thresholdType = thresholdType; } public String getThresholdAmount() { return this.thresholdAmount; } public void setThresholdAmount(String thresholdAmount) { this.thresholdAmount = thresholdAmount; } public Integer getNumerator() { return this.numerator; } public void setNumerator(Integer numerator) { this.numerator = numerator; } public Integer getDenominator() { return this.denominator; } public void setDenominator(Integer denominator) { this.denominator = denominator; } } @Override public QueryResellerUserAlarmThresholdResponse getInstance(UnmarshallerContext context) { return QueryResellerUserAlarmThresholdResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QueryResourcePackageInstancesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class QueryResourcePackageInstancesRequest extends RpcAcsRequest<QueryResourcePackageInstancesResponse> { private String expiryTimeEnd; private String productCode; private Long ownerId; private String expiryTimeStart; private Integer pageNum; private Boolean includePartner; private Integer pageSize; public QueryResourcePackageInstancesRequest() { super("BssOpenApi", "2017-12-14", "QueryResourcePackageInstances", "bssopenapi"); 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 getExpiryTimeEnd() { return this.expiryTimeEnd; } public void setExpiryTimeEnd(String expiryTimeEnd) { this.expiryTimeEnd = expiryTimeEnd; if(expiryTimeEnd != null){ putQueryParameter("ExpiryTimeEnd", expiryTimeEnd); } } public String getProductCode() { return this.productCode; } public void setProductCode(String productCode) { this.productCode = productCode; if(productCode != null){ putQueryParameter("ProductCode", productCode); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getExpiryTimeStart() { return this.expiryTimeStart; } public void setExpiryTimeStart(String expiryTimeStart) { this.expiryTimeStart = expiryTimeStart; if(expiryTimeStart != null){ putQueryParameter("ExpiryTimeStart", expiryTimeStart); } } public Integer getPageNum() { return this.pageNum; } public void setPageNum(Integer pageNum) { this.pageNum = pageNum; if(pageNum != null){ putQueryParameter("PageNum", pageNum.toString()); } } public Boolean getIncludePartner() { return this.includePartner; } public void setIncludePartner(Boolean includePartner) { this.includePartner = includePartner; if(includePartner != null){ putQueryParameter("IncludePartner", includePartner.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<QueryResourcePackageInstancesResponse> getResponseClass() { return QueryResourcePackageInstancesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QueryResourcePackageInstancesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.QueryResourcePackageInstancesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class QueryResourcePackageInstancesResponse extends AcsResponse { private String requestId; private Boolean success; private String code; private String message; private Integer pageSize; private Integer total; private Integer page; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } public Integer getTotal() { return this.total; } public void setTotal(Integer total) { this.total = total; } public Integer getPage() { return this.page; } public void setPage(Integer page) { this.page = page; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String pageNum; private String pageSize; private String totalCount; private String hostId; private List<Instance> instances; public String getPageNum() { return this.pageNum; } public void setPageNum(String pageNum) { this.pageNum = pageNum; } public String getPageSize() { return this.pageSize; } public void setPageSize(String pageSize) { this.pageSize = pageSize; } public String getTotalCount() { return this.totalCount; } public void setTotalCount(String totalCount) { this.totalCount = totalCount; } public String getHostId() { return this.hostId; } public void setHostId(String hostId) { this.hostId = hostId; } public List<Instance> getInstances() { return this.instances; } public void setInstances(List<Instance> instances) { this.instances = instances; } public static class Instance { private String expiryTime; private String status; private String remark; private String remainingAmountUnit; private String instanceId; private String packageType; private String effectiveTime; private String region; private String totalAmount; private String deductType; private String totalAmountUnit; private String remainingAmount; private String commodityCode; private List<String> applicableProducts; public String getExpiryTime() { return this.expiryTime; } public void setExpiryTime(String expiryTime) { this.expiryTime = expiryTime; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getRemark() { return this.remark; } public void setRemark(String remark) { this.remark = remark; } public String getRemainingAmountUnit() { return this.remainingAmountUnit; } public void setRemainingAmountUnit(String remainingAmountUnit) { this.remainingAmountUnit = remainingAmountUnit; } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } public String getPackageType() { return this.packageType; } public void setPackageType(String packageType) { this.packageType = packageType; } public String getEffectiveTime() { return this.effectiveTime; } public void setEffectiveTime(String effectiveTime) { this.effectiveTime = effectiveTime; } public String getRegion() { return this.region; } public void setRegion(String region) { this.region = region; } public String getTotalAmount() { return this.totalAmount; } public void setTotalAmount(String totalAmount) { this.totalAmount = totalAmount; } public String getDeductType() { return this.deductType; } public void setDeductType(String deductType) { this.deductType = deductType; } public String getTotalAmountUnit() { return this.totalAmountUnit; } public void setTotalAmountUnit(String totalAmountUnit) { this.totalAmountUnit = totalAmountUnit; } public String getRemainingAmount() { return this.remainingAmount; } public void setRemainingAmount(String remainingAmount) { this.remainingAmount = remainingAmount; } public String getCommodityCode() { return this.commodityCode; } public void setCommodityCode(String commodityCode) { this.commodityCode = commodityCode; } public List<String> getApplicableProducts() { return this.applicableProducts; } public void setApplicableProducts(List<String> applicableProducts) { this.applicableProducts = applicableProducts; } } } @Override public QueryResourcePackageInstancesResponse getInstance(UnmarshallerContext context) { return QueryResourcePackageInstancesResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QuerySavingsPlansDeductLogRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class QuerySavingsPlansDeductLogRequest extends RpcAcsRequest<QuerySavingsPlansDeductLogResponse> { private String endTime; private String startTime; private String locale; private Integer pageNum; private String instanceId; private Integer pageSize; private String instanceType; public QuerySavingsPlansDeductLogRequest() { super("BssOpenApi", "2017-12-14", "QuerySavingsPlansDeductLog", "bssopenapi"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; if(endTime != null){ putQueryParameter("EndTime", endTime); } } public String getStartTime() { return this.startTime; } public void setStartTime(String startTime) { this.startTime = startTime; if(startTime != null){ putQueryParameter("StartTime", startTime); } } public String getLocale() { return this.locale; } public void setLocale(String locale) { this.locale = locale; if(locale != null){ putQueryParameter("Locale", locale); } } public Integer getPageNum() { return this.pageNum; } public void setPageNum(Integer pageNum) { this.pageNum = pageNum; if(pageNum != null){ putQueryParameter("PageNum", pageNum.toString()); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public String getInstanceType() { return this.instanceType; } public void setInstanceType(String instanceType) { this.instanceType = instanceType; if(instanceType != null){ putQueryParameter("InstanceType", instanceType); } } @Override public Class<QuerySavingsPlansDeductLogResponse> getResponseClass() { return QuerySavingsPlansDeductLogResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QuerySavingsPlansDeductLogResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.QuerySavingsPlansDeductLogResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class QuerySavingsPlansDeductLogResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; private Data data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer pageNum; private Integer pageSize; private Integer totalCount; private List<SavingsPlansDeductDetailResponse> items; public Integer getPageNum() { return this.pageNum; } public void setPageNum(Integer pageNum) { this.pageNum = pageNum; } 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<SavingsPlansDeductDetailResponse> getItems() { return this.items; } public void setItems(List<SavingsPlansDeductDetailResponse> items) { this.items = items; } public static class SavingsPlansDeductDetailResponse { private String endTime; private String startTime; private String savingsType; private Long userId; private String discountRate; private String billModule; private String instanceId; private String deductInstanceId; private String deductCommodity; private String deductRate; private String deductFee; private Long ownerId; private String billingCycle; private String region; private String instanceSpec; private String instanceTypeFamily; private String billingOfficialPrice; private String deductedOfficialPrice; public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; } public String getStartTime() { return this.startTime; } public void setStartTime(String startTime) { this.startTime = startTime; } public String getSavingsType() { return this.savingsType; } public void setSavingsType(String savingsType) { this.savingsType = savingsType; } public Long getUserId() { return this.userId; } public void setUserId(Long userId) { this.userId = userId; } public String getDiscountRate() { return this.discountRate; } public void setDiscountRate(String discountRate) { this.discountRate = discountRate; } public String getBillModule() { return this.billModule; } public void setBillModule(String billModule) { this.billModule = billModule; } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } public String getDeductInstanceId() { return this.deductInstanceId; } public void setDeductInstanceId(String deductInstanceId) { this.deductInstanceId = deductInstanceId; } public String getDeductCommodity() { return this.deductCommodity; } public void setDeductCommodity(String deductCommodity) { this.deductCommodity = deductCommodity; } public String getDeductRate() { return this.deductRate; } public void setDeductRate(String deductRate) { this.deductRate = deductRate; } public String getDeductFee() { return this.deductFee; } public void setDeductFee(String deductFee) { this.deductFee = deductFee; } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; } public String getBillingCycle() { return this.billingCycle; } public void setBillingCycle(String billingCycle) { this.billingCycle = billingCycle; } public String getRegion() { return this.region; } public void setRegion(String region) { this.region = region; } public String getInstanceSpec() { return this.instanceSpec; } public void setInstanceSpec(String instanceSpec) { this.instanceSpec = instanceSpec; } public String getInstanceTypeFamily() { return this.instanceTypeFamily; } public void setInstanceTypeFamily(String instanceTypeFamily) { this.instanceTypeFamily = instanceTypeFamily; } public String getBillingOfficialPrice() { return this.billingOfficialPrice; } public void setBillingOfficialPrice(String billingOfficialPrice) { this.billingOfficialPrice = billingOfficialPrice; } public String getDeductedOfficialPrice() { return this.deductedOfficialPrice; } public void setDeductedOfficialPrice(String deductedOfficialPrice) { this.deductedOfficialPrice = deductedOfficialPrice; } } } @Override public QuerySavingsPlansDeductLogResponse getInstance(UnmarshallerContext context) { return QuerySavingsPlansDeductLogResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QuerySavingsPlansDiscountRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class QuerySavingsPlansDiscountRequest extends RpcAcsRequest<QuerySavingsPlansDiscountResponse> { private String commodityCode; private String locale; private Integer pageNum; private String cycle; private String spec; private String moduleCode; private String payMode; private Integer pageSize; private String spnType; private String region; public QuerySavingsPlansDiscountRequest() { super("BssOpenApi", "2017-12-14", "QuerySavingsPlansDiscount", "bssopenapi"); setMethod(MethodType.GET); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getCommodityCode() { return this.commodityCode; } public void setCommodityCode(String commodityCode) { this.commodityCode = commodityCode; if(commodityCode != null){ putQueryParameter("CommodityCode", commodityCode); } } public String getLocale() { return this.locale; } public void setLocale(String locale) { this.locale = locale; if(locale != null){ putQueryParameter("Locale", locale); } } public Integer getPageNum() { return this.pageNum; } public void setPageNum(Integer pageNum) { this.pageNum = pageNum; if(pageNum != null){ putQueryParameter("PageNum", pageNum.toString()); } } public String getCycle() { return this.cycle; } public void setCycle(String cycle) { this.cycle = cycle; if(cycle != null){ putQueryParameter("Cycle", cycle); } } public String getSpec() { return this.spec; } public void setSpec(String spec) { this.spec = spec; if(spec != null){ putQueryParameter("Spec", spec); } } public String getModuleCode() { return this.moduleCode; } public void setModuleCode(String moduleCode) { this.moduleCode = moduleCode; if(moduleCode != null){ putQueryParameter("ModuleCode", moduleCode); } } public String getPayMode() { return this.payMode; } public void setPayMode(String payMode) { this.payMode = payMode; if(payMode != null){ putQueryParameter("PayMode", payMode); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public String getSpnType() { return this.spnType; } public void setSpnType(String spnType) { this.spnType = spnType; if(spnType != null){ putQueryParameter("SpnType", spnType); } } public String getRegion() { return this.region; } public void setRegion(String region) { this.region = region; if(region != null){ putQueryParameter("Region", region); } } @Override public Class<QuerySavingsPlansDiscountResponse> getResponseClass() { return QuerySavingsPlansDiscountResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QuerySavingsPlansDiscountResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.QuerySavingsPlansDiscountResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class QuerySavingsPlansDiscountResponse extends AcsResponse { private String message; private String requestId; private String code; private Boolean success; private Data data; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String hostId; private List<SavingsPlansDiscountResponse> items; public String getHostId() { return this.hostId; } public void setHostId(String hostId) { this.hostId = hostId; } public List<SavingsPlansDiscountResponse> getItems() { return this.items; } public void setItems(List<SavingsPlansDiscountResponse> items) { this.items = items; } public static class SavingsPlansDiscountResponse { private String commodityName; private String moduleName; private String spnType; private String payMode; private String cycle; private String region; private String regionCode; private String spec; private String discountRate; private String contractDiscountRate; public String getCommodityName() { return this.commodityName; } public void setCommodityName(String commodityName) { this.commodityName = commodityName; } public String getModuleName() { return this.moduleName; } public void setModuleName(String moduleName) { this.moduleName = moduleName; } public String getSpnType() { return this.spnType; } public void setSpnType(String spnType) { this.spnType = spnType; } public String getPayMode() { return this.payMode; } public void setPayMode(String payMode) { this.payMode = payMode; } public String getCycle() { return this.cycle; } public void setCycle(String cycle) { this.cycle = cycle; } public String getRegion() { return this.region; } public void setRegion(String region) { this.region = region; } public String getRegionCode() { return this.regionCode; } public void setRegionCode(String regionCode) { this.regionCode = regionCode; } public String getSpec() { return this.spec; } public void setSpec(String spec) { this.spec = spec; } public String getDiscountRate() { return this.discountRate; } public void setDiscountRate(String discountRate) { this.discountRate = discountRate; } public String getContractDiscountRate() { return this.contractDiscountRate; } public void setContractDiscountRate(String contractDiscountRate) { this.contractDiscountRate = contractDiscountRate; } } } @Override public QuerySavingsPlansDiscountResponse getInstance(UnmarshallerContext context) { return QuerySavingsPlansDiscountResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QuerySavingsPlansInstanceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class QuerySavingsPlansInstanceRequest extends RpcAcsRequest<QuerySavingsPlansInstanceResponse> { private String endTime; private String startTime; private String locale; private Integer pageNum; private String instanceId; private Integer pageSize; private List<Tag> tags; private String status; public QuerySavingsPlansInstanceRequest() { super("BssOpenApi", "2017-12-14", "QuerySavingsPlansInstance", "bssopenapi"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; if(endTime != null){ putQueryParameter("EndTime", endTime); } } public String getStartTime() { return this.startTime; } public void setStartTime(String startTime) { this.startTime = startTime; if(startTime != null){ putQueryParameter("StartTime", startTime); } } public String getLocale() { return this.locale; } public void setLocale(String locale) { this.locale = locale; if(locale != null){ putQueryParameter("Locale", locale); } } public Integer getPageNum() { return this.pageNum; } public void setPageNum(Integer pageNum) { this.pageNum = pageNum; if(pageNum != null){ putQueryParameter("PageNum", pageNum.toString()); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public List<Tag> getTags() { return this.tags; } public void setTags(List<Tag> tags) { this.tags = tags; if (tags != null) { for (int depth1 = 0; depth1 < tags.size(); depth1++) { putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue()); putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey()); } } } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; if(status != null){ putQueryParameter("Status", status); } } public static class Tag { private String value; private String key; public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } public String getKey() { return this.key; } public void setKey(String key) { this.key = key; } } @Override public Class<QuerySavingsPlansInstanceResponse> getResponseClass() { return QuerySavingsPlansInstanceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QuerySavingsPlansInstanceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.QuerySavingsPlansInstanceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class QuerySavingsPlansInstanceResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; private Data data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer pageNum; private Integer pageSize; private Integer totalCount; private List<SavingsPlansDetailResponse> items; public Integer getPageNum() { return this.pageNum; } public void setPageNum(Integer pageNum) { this.pageNum = pageNum; } 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<SavingsPlansDetailResponse> getItems() { return this.items; } public void setItems(List<SavingsPlansDetailResponse> items) { this.items = items; } public static class SavingsPlansDetailResponse { private String status; private String cycle; private Long startTimestamp; private String savingsType; private String utilization; private String prepayFee; private String instanceId; private String currency; private Long endTimestamp; private String endTime; private String startTime; private String allocationStatus; private String instanceFamily; private String region; private String lastBillTotalUsage; private String lastBillUtilization; private String totalSave; private String poolValue; private String payMode; private String deductCycleType; private String restPoolValue; private String commodityCode; private String currentPoolValue; private List<Tag> tags; public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getCycle() { return this.cycle; } public void setCycle(String cycle) { this.cycle = cycle; } public Long getStartTimestamp() { return this.startTimestamp; } public void setStartTimestamp(Long startTimestamp) { this.startTimestamp = startTimestamp; } public String getSavingsType() { return this.savingsType; } public void setSavingsType(String savingsType) { this.savingsType = savingsType; } public String getUtilization() { return this.utilization; } public void setUtilization(String utilization) { this.utilization = utilization; } public String getPrepayFee() { return this.prepayFee; } public void setPrepayFee(String prepayFee) { this.prepayFee = prepayFee; } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } public String getCurrency() { return this.currency; } public void setCurrency(String currency) { this.currency = currency; } public Long getEndTimestamp() { return this.endTimestamp; } public void setEndTimestamp(Long endTimestamp) { this.endTimestamp = endTimestamp; } public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; } public String getStartTime() { return this.startTime; } public void setStartTime(String startTime) { this.startTime = startTime; } public String getAllocationStatus() { return this.allocationStatus; } public void setAllocationStatus(String allocationStatus) { this.allocationStatus = allocationStatus; } public String getInstanceFamily() { return this.instanceFamily; } public void setInstanceFamily(String instanceFamily) { this.instanceFamily = instanceFamily; } public String getRegion() { return this.region; } public void setRegion(String region) { this.region = region; } public String getLastBillTotalUsage() { return this.lastBillTotalUsage; } public void setLastBillTotalUsage(String lastBillTotalUsage) { this.lastBillTotalUsage = lastBillTotalUsage; } public String getLastBillUtilization() { return this.lastBillUtilization; } public void setLastBillUtilization(String lastBillUtilization) { this.lastBillUtilization = lastBillUtilization; } public String getTotalSave() { return this.totalSave; } public void setTotalSave(String totalSave) { this.totalSave = totalSave; } public String getPoolValue() { return this.poolValue; } public void setPoolValue(String poolValue) { this.poolValue = poolValue; } public String getPayMode() { return this.payMode; } public void setPayMode(String payMode) { this.payMode = payMode; } public String getDeductCycleType() { return this.deductCycleType; } public void setDeductCycleType(String deductCycleType) { this.deductCycleType = deductCycleType; } public String getRestPoolValue() { return this.restPoolValue; } public void setRestPoolValue(String restPoolValue) { this.restPoolValue = restPoolValue; } public String getCommodityCode() { return this.commodityCode; } public void setCommodityCode(String commodityCode) { this.commodityCode = commodityCode; } public String getCurrentPoolValue() { return this.currentPoolValue; } public void setCurrentPoolValue(String currentPoolValue) { this.currentPoolValue = currentPoolValue; } public List<Tag> getTags() { return this.tags; } public void setTags(List<Tag> tags) { this.tags = tags; } public static class Tag { private String key; private String value; public String getKey() { return this.key; } public void setKey(String key) { this.key = key; } public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } } } } @Override public QuerySavingsPlansInstanceResponse getInstance(UnmarshallerContext context) { return QuerySavingsPlansInstanceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QuerySettleBillRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class QuerySettleBillRequest extends RpcAcsRequest<QuerySettleBillResponse> { private String productCode; private Boolean isHideZeroCharge; private Boolean isDisplayLocalCurrency; private String subscriptionType; private String billingCycle; private String type; private Long ownerId; private Long billOwnerId; private String productType; private String recordID; private String nextToken; private Integer maxResults; public QuerySettleBillRequest() { super("BssOpenApi", "2017-12-14", "QuerySettleBill", "bssopenapi"); 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 getProductCode() { return this.productCode; } public void setProductCode(String productCode) { this.productCode = productCode; if(productCode != null){ putQueryParameter("ProductCode", productCode); } } public Boolean getIsHideZeroCharge() { return this.isHideZeroCharge; } public void setIsHideZeroCharge(Boolean isHideZeroCharge) { this.isHideZeroCharge = isHideZeroCharge; if(isHideZeroCharge != null){ putQueryParameter("IsHideZeroCharge", isHideZeroCharge.toString()); } } public Boolean getIsDisplayLocalCurrency() { return this.isDisplayLocalCurrency; } public void setIsDisplayLocalCurrency(Boolean isDisplayLocalCurrency) { this.isDisplayLocalCurrency = isDisplayLocalCurrency; if(isDisplayLocalCurrency != null){ putQueryParameter("IsDisplayLocalCurrency", isDisplayLocalCurrency.toString()); } } public String getSubscriptionType() { return this.subscriptionType; } public void setSubscriptionType(String subscriptionType) { this.subscriptionType = subscriptionType; if(subscriptionType != null){ putQueryParameter("SubscriptionType", subscriptionType); } } public String getBillingCycle() { return this.billingCycle; } public void setBillingCycle(String billingCycle) { this.billingCycle = billingCycle; if(billingCycle != null){ putQueryParameter("BillingCycle", billingCycle); } } public String getType() { return this.type; } public void setType(String type) { this.type = type; if(type != null){ putQueryParameter("Type", type); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public Long getBillOwnerId() { return this.billOwnerId; } public void setBillOwnerId(Long billOwnerId) { this.billOwnerId = billOwnerId; if(billOwnerId != null){ putQueryParameter("BillOwnerId", billOwnerId.toString()); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public String getRecordID() { return this.recordID; } public void setRecordID(String recordID) { this.recordID = recordID; if(recordID != null){ putQueryParameter("RecordID", recordID); } } public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; if(nextToken != null){ putQueryParameter("NextToken", nextToken); } } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; if(maxResults != null){ putQueryParameter("MaxResults", maxResults.toString()); } } @Override public Class<QuerySettleBillResponse> getResponseClass() { return QuerySettleBillResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QuerySettleBillResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.QuerySettleBillResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class QuerySettleBillResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; private Data data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String nextToken; private String billingCycle; private Integer maxResults; private String accountID; private Integer totalCount; private String accountName; private List<Item> items; public String getNextToken() { return this.nextToken; } public void setNextToken(String nextToken) { this.nextToken = nextToken; } public String getBillingCycle() { return this.billingCycle; } public void setBillingCycle(String billingCycle) { this.billingCycle = billingCycle; } public Integer getMaxResults() { return this.maxResults; } public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } public String getAccountID() { return this.accountID; } public void setAccountID(String accountID) { this.accountID = accountID; } public Integer getTotalCount() { return this.totalCount; } public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } public String getAccountName() { return this.accountName; } public void setAccountName(String accountName) { this.accountName = accountName; } public List<Item> getItems() { return this.items; } public void setItems(List<Item> items) { this.items = items; } public static class Item { private String status; private String roundDownDiscount; private String item; private String currency; private String billAccountName; private Float deductedByCashCoupons; private String subscriptionType; private String usageStartTime; private String bizType; private String usageEndTime; private Float deductedByCoupons; private String subOrderId; private Float afterTaxAmount; private Float outstandingAmount; private String paymentTime; private Float tax; private Float pretaxAmountLocal; private String pipCode; private String paymentTransactionID; private Float pretaxAmount; private String commodityCode; private String productName; private String recordID; private Float adjustAmount; private String productDetail; private String paymentCurrency; private String ownerID; private Float deductedByPrepaidCard; private String billAccountID; private Float paymentAmount; private Float invoiceDiscount; private String productType; private Float pretaxGrossAmount; private Float cashAmount; private String productCode; public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getRoundDownDiscount() { return this.roundDownDiscount; } public void setRoundDownDiscount(String roundDownDiscount) { this.roundDownDiscount = roundDownDiscount; } public String getItem() { return this.item; } public void setItem(String item) { this.item = item; } public String getCurrency() { return this.currency; } public void setCurrency(String currency) { this.currency = currency; } public String getBillAccountName() { return this.billAccountName; } public void setBillAccountName(String billAccountName) { this.billAccountName = billAccountName; } public Float getDeductedByCashCoupons() { return this.deductedByCashCoupons; } public void setDeductedByCashCoupons(Float deductedByCashCoupons) { this.deductedByCashCoupons = deductedByCashCoupons; } public String getSubscriptionType() { return this.subscriptionType; } public void setSubscriptionType(String subscriptionType) { this.subscriptionType = subscriptionType; } public String getUsageStartTime() { return this.usageStartTime; } public void setUsageStartTime(String usageStartTime) { this.usageStartTime = usageStartTime; } public String getBizType() { return this.bizType; } public void setBizType(String bizType) { this.bizType = bizType; } public String getUsageEndTime() { return this.usageEndTime; } public void setUsageEndTime(String usageEndTime) { this.usageEndTime = usageEndTime; } public Float getDeductedByCoupons() { return this.deductedByCoupons; } public void setDeductedByCoupons(Float deductedByCoupons) { this.deductedByCoupons = deductedByCoupons; } public String getSubOrderId() { return this.subOrderId; } public void setSubOrderId(String subOrderId) { this.subOrderId = subOrderId; } public Float getAfterTaxAmount() { return this.afterTaxAmount; } public void setAfterTaxAmount(Float afterTaxAmount) { this.afterTaxAmount = afterTaxAmount; } public Float getOutstandingAmount() { return this.outstandingAmount; } public void setOutstandingAmount(Float outstandingAmount) { this.outstandingAmount = outstandingAmount; } public String getPaymentTime() { return this.paymentTime; } public void setPaymentTime(String paymentTime) { this.paymentTime = paymentTime; } public Float getTax() { return this.tax; } public void setTax(Float tax) { this.tax = tax; } public Float getPretaxAmountLocal() { return this.pretaxAmountLocal; } public void setPretaxAmountLocal(Float pretaxAmountLocal) { this.pretaxAmountLocal = pretaxAmountLocal; } public String getPipCode() { return this.pipCode; } public void setPipCode(String pipCode) { this.pipCode = pipCode; } public String getPaymentTransactionID() { return this.paymentTransactionID; } public void setPaymentTransactionID(String paymentTransactionID) { this.paymentTransactionID = paymentTransactionID; } public Float getPretaxAmount() { return this.pretaxAmount; } public void setPretaxAmount(Float pretaxAmount) { this.pretaxAmount = pretaxAmount; } public String getCommodityCode() { return this.commodityCode; } public void setCommodityCode(String commodityCode) { this.commodityCode = commodityCode; } public String getProductName() { return this.productName; } public void setProductName(String productName) { this.productName = productName; } public String getRecordID() { return this.recordID; } public void setRecordID(String recordID) { this.recordID = recordID; } public Float getAdjustAmount() { return this.adjustAmount; } public void setAdjustAmount(Float adjustAmount) { this.adjustAmount = adjustAmount; } public String getProductDetail() { return this.productDetail; } public void setProductDetail(String productDetail) { this.productDetail = productDetail; } public String getPaymentCurrency() { return this.paymentCurrency; } public void setPaymentCurrency(String paymentCurrency) { this.paymentCurrency = paymentCurrency; } public String getOwnerID() { return this.ownerID; } public void setOwnerID(String ownerID) { this.ownerID = ownerID; } public Float getDeductedByPrepaidCard() { return this.deductedByPrepaidCard; } public void setDeductedByPrepaidCard(Float deductedByPrepaidCard) { this.deductedByPrepaidCard = deductedByPrepaidCard; } public String getBillAccountID() { return this.billAccountID; } public void setBillAccountID(String billAccountID) { this.billAccountID = billAccountID; } public Float getPaymentAmount() { return this.paymentAmount; } public void setPaymentAmount(Float paymentAmount) { this.paymentAmount = paymentAmount; } public Float getInvoiceDiscount() { return this.invoiceDiscount; } public void setInvoiceDiscount(Float invoiceDiscount) { this.invoiceDiscount = invoiceDiscount; } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; } public Float getPretaxGrossAmount() { return this.pretaxGrossAmount; } public void setPretaxGrossAmount(Float pretaxGrossAmount) { this.pretaxGrossAmount = pretaxGrossAmount; } public Float getCashAmount() { return this.cashAmount; } public void setCashAmount(Float cashAmount) { this.cashAmount = cashAmount; } public String getProductCode() { return this.productCode; } public void setProductCode(String productCode) { this.productCode = productCode; } } } @Override public QuerySettleBillResponse getInstance(UnmarshallerContext context) { return QuerySettleBillResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QuerySkuPriceListRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import java.util.List; import java.util.Map; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class QuerySkuPriceListRequest extends RpcAcsRequest<QuerySkuPriceListResponse> { private String nextPageToken; private String commodityCode; @SerializedName("priceFactorConditionMap") private Map<String,List<String>> priceFactorConditionMap; private String priceEntityCode; private Integer pageSize; private String lang; public QuerySkuPriceListRequest() { super("BssOpenApi", "2017-12-14", "QuerySkuPriceList", "bssopenapi"); setMethod(MethodType.GET); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getNextPageToken() { return this.nextPageToken; } public void setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; if(nextPageToken != null){ putQueryParameter("NextPageToken", nextPageToken); } } public String getCommodityCode() { return this.commodityCode; } public void setCommodityCode(String commodityCode) { this.commodityCode = commodityCode; if(commodityCode != null){ putQueryParameter("CommodityCode", commodityCode); } } public Map<String,List<String>> getPriceFactorConditionMap() { return this.priceFactorConditionMap; } public void setPriceFactorConditionMap(Map<String,List<String>> priceFactorConditionMap) { this.priceFactorConditionMap = priceFactorConditionMap; if (priceFactorConditionMap != null) { putQueryParameter("PriceFactorConditionMap" , new Gson().toJson(priceFactorConditionMap)); } } public String getPriceEntityCode() { return this.priceEntityCode; } public void setPriceEntityCode(String priceEntityCode) { this.priceEntityCode = priceEntityCode; if(priceEntityCode != null){ putQueryParameter("PriceEntityCode", priceEntityCode); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public String getLang() { return this.lang; } public void setLang(String lang) { this.lang = lang; if(lang != null){ putQueryParameter("Lang", lang); } } @Override public Class<QuerySkuPriceListResponse> getResponseClass() { return QuerySkuPriceListResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QuerySkuPriceListResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import java.util.List; import java.util.Map; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.QuerySkuPriceListResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class QuerySkuPriceListResponse extends AcsResponse { private String requestId; private String code; private String message; private Boolean success; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private SkuPricePage skuPricePage; public SkuPricePage getSkuPricePage() { return this.skuPricePage; } public void setSkuPricePage(SkuPricePage skuPricePage) { this.skuPricePage = skuPricePage; } public static class SkuPricePage { private Integer totalCount; private String nextPageToken; private List<SkuPricePageDTO> skuPriceList; public Integer getTotalCount() { return this.totalCount; } public void setTotalCount(Integer totalCount) { this.totalCount = totalCount; } public String getNextPageToken() { return this.nextPageToken; } public void setNextPageToken(String nextPageToken) { this.nextPageToken = nextPageToken; } public List<SkuPricePageDTO> getSkuPriceList() { return this.skuPriceList; } public void setSkuPriceList(List<SkuPricePageDTO> skuPriceList) { this.skuPriceList = skuPriceList; } public static class SkuPricePageDTO { private String skuCode; private Map<Object,Object> skuFactorMap; private List<CSkuPriceDTO> cskuPriceList; public String getSkuCode() { return this.skuCode; } public void setSkuCode(String skuCode) { this.skuCode = skuCode; } public Map<Object,Object> getSkuFactorMap() { return this.skuFactorMap; } public void setSkuFactorMap(Map<Object,Object> skuFactorMap) { this.skuFactorMap = skuFactorMap; } public List<CSkuPriceDTO> getCskuPriceList() { return this.cskuPriceList; } public void setCskuPriceList(List<CSkuPriceDTO> cskuPriceList) { this.cskuPriceList = cskuPriceList; } public static class CSkuPriceDTO { private String cskuCode; private String currency; private String usageUnit; private String priceType; private String priceMode; private String price; private String priceUnit; private List<RangeDTO> rangeList; public String getCskuCode() { return this.cskuCode; } public void setCskuCode(String cskuCode) { this.cskuCode = cskuCode; } public String getCurrency() { return this.currency; } public void setCurrency(String currency) { this.currency = currency; } public String getUsageUnit() { return this.usageUnit; } public void setUsageUnit(String usageUnit) { this.usageUnit = usageUnit; } public String getPriceType() { return this.priceType; } public void setPriceType(String priceType) { this.priceType = priceType; } public String getPriceMode() { return this.priceMode; } public void setPriceMode(String priceMode) { this.priceMode = priceMode; } public String getPrice() { return this.price; } public void setPrice(String price) { this.price = price; } public String getPriceUnit() { return this.priceUnit; } public void setPriceUnit(String priceUnit) { this.priceUnit = priceUnit; } public List<RangeDTO> getRangeList() { return this.rangeList; } public void setRangeList(List<RangeDTO> rangeList) { this.rangeList = rangeList; } public static class RangeDTO { private String factorCode; private String min; private String max; private String type; public String getFactorCode() { return this.factorCode; } public void setFactorCode(String factorCode) { this.factorCode = factorCode; } public String getMin() { return this.min; } public void setMin(String min) { this.min = min; } public String getMax() { return this.max; } public void setMax(String max) { this.max = max; } public String getType() { return this.type; } public void setType(String type) { this.type = type; } } } } } } @Override public QuerySkuPriceListResponse getInstance(UnmarshallerContext context) { return QuerySkuPriceListResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QuerySplitItemBillRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class QuerySplitItemBillRequest extends RpcAcsRequest<QuerySplitItemBillResponse> { private String productCode; private String subscriptionType; private String billingCycle; private Long ownerId; private Integer pageNum; private Long billOwnerId; private String productType; private Integer pageSize; public QuerySplitItemBillRequest() { super("BssOpenApi", "2017-12-14", "QuerySplitItemBill", "bssopenapi"); 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 getProductCode() { return this.productCode; } public void setProductCode(String productCode) { this.productCode = productCode; if(productCode != null){ putQueryParameter("ProductCode", productCode); } } public String getSubscriptionType() { return this.subscriptionType; } public void setSubscriptionType(String subscriptionType) { this.subscriptionType = subscriptionType; if(subscriptionType != null){ putQueryParameter("SubscriptionType", subscriptionType); } } public String getBillingCycle() { return this.billingCycle; } public void setBillingCycle(String billingCycle) { this.billingCycle = billingCycle; if(billingCycle != null){ putQueryParameter("BillingCycle", billingCycle); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public Integer getPageNum() { return this.pageNum; } public void setPageNum(Integer pageNum) { this.pageNum = pageNum; if(pageNum != null){ putQueryParameter("PageNum", pageNum.toString()); } } public Long getBillOwnerId() { return this.billOwnerId; } public void setBillOwnerId(Long billOwnerId) { this.billOwnerId = billOwnerId; if(billOwnerId != null){ putQueryParameter("BillOwnerId", billOwnerId.toString()); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } @Override public Class<QuerySplitItemBillResponse> getResponseClass() { return QuerySplitItemBillResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QuerySplitItemBillResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.QuerySplitItemBillResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class QuerySplitItemBillResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; private Data data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Integer pageNum; private String billingCycle; private String accountID; private Integer pageSize; private Integer totalCount; private String accountName; private List<Item> items; public Integer getPageNum() { return this.pageNum; } public void setPageNum(Integer pageNum) { this.pageNum = pageNum; } public String getBillingCycle() { return this.billingCycle; } public void setBillingCycle(String billingCycle) { this.billingCycle = billingCycle; } public String getAccountID() { return this.accountID; } public void setAccountID(String accountID) { this.accountID = accountID; } 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 String getAccountName() { return this.accountName; } public void setAccountName(String accountName) { this.accountName = accountName; } public List<Item> getItems() { return this.items; } public void setItems(List<Item> items) { this.items = items; } public static class Item { private String splitAccountID; private String subscriptionType; private String instanceSpec; private Float deductedByCoupons; private String region; private Float outstandingAmount; private String pipCode; private String commodityCode; private String nickName; private String productDetail; private String usage; private String intranetIP; private String usageUnit; private String splitCommodityCode; private String productType; private String deductedByResourcePackage; private Float paymentAmount; private String splitBillingCycle; private String servicePeriod; private String splitItemName; private String listPrice; private String zone; private Float pretaxGrossAmount; private Float cashAmount; private String instanceConfig; private String billingDate; private String internetIP; private String item; private String splitItemID; private String instanceID; private String tag; private String currency; private Float deductedByCashCoupons; private String billingItem; private String costUnit; private String listPriceUnit; private String resourceGroup; private Float pretaxAmount; private String servicePeriodUnit; private String productName; private String splitProductDetail; private Float adjustAmount; private String ownerID; private Float deductedByPrepaidCard; private Float invoiceDiscount; private String splitAccountName; private String billingType; private String productCode; public String getSplitAccountID() { return this.splitAccountID; } public void setSplitAccountID(String splitAccountID) { this.splitAccountID = splitAccountID; } public String getSubscriptionType() { return this.subscriptionType; } public void setSubscriptionType(String subscriptionType) { this.subscriptionType = subscriptionType; } public String getInstanceSpec() { return this.instanceSpec; } public void setInstanceSpec(String instanceSpec) { this.instanceSpec = instanceSpec; } public Float getDeductedByCoupons() { return this.deductedByCoupons; } public void setDeductedByCoupons(Float deductedByCoupons) { this.deductedByCoupons = deductedByCoupons; } public String getRegion() { return this.region; } public void setRegion(String region) { this.region = region; } public Float getOutstandingAmount() { return this.outstandingAmount; } public void setOutstandingAmount(Float outstandingAmount) { this.outstandingAmount = outstandingAmount; } public String getPipCode() { return this.pipCode; } public void setPipCode(String pipCode) { this.pipCode = pipCode; } public String getCommodityCode() { return this.commodityCode; } public void setCommodityCode(String commodityCode) { this.commodityCode = commodityCode; } public String getNickName() { return this.nickName; } public void setNickName(String nickName) { this.nickName = nickName; } public String getProductDetail() { return this.productDetail; } public void setProductDetail(String productDetail) { this.productDetail = productDetail; } public String getUsage() { return this.usage; } public void setUsage(String usage) { this.usage = usage; } public String getIntranetIP() { return this.intranetIP; } public void setIntranetIP(String intranetIP) { this.intranetIP = intranetIP; } public String getUsageUnit() { return this.usageUnit; } public void setUsageUnit(String usageUnit) { this.usageUnit = usageUnit; } public String getSplitCommodityCode() { return this.splitCommodityCode; } public void setSplitCommodityCode(String splitCommodityCode) { this.splitCommodityCode = splitCommodityCode; } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; } public String getDeductedByResourcePackage() { return this.deductedByResourcePackage; } public void setDeductedByResourcePackage(String deductedByResourcePackage) { this.deductedByResourcePackage = deductedByResourcePackage; } public Float getPaymentAmount() { return this.paymentAmount; } public void setPaymentAmount(Float paymentAmount) { this.paymentAmount = paymentAmount; } public String getSplitBillingCycle() { return this.splitBillingCycle; } public void setSplitBillingCycle(String splitBillingCycle) { this.splitBillingCycle = splitBillingCycle; } public String getServicePeriod() { return this.servicePeriod; } public void setServicePeriod(String servicePeriod) { this.servicePeriod = servicePeriod; } public String getSplitItemName() { return this.splitItemName; } public void setSplitItemName(String splitItemName) { this.splitItemName = splitItemName; } public String getListPrice() { return this.listPrice; } public void setListPrice(String listPrice) { this.listPrice = listPrice; } public String getZone() { return this.zone; } public void setZone(String zone) { this.zone = zone; } public Float getPretaxGrossAmount() { return this.pretaxGrossAmount; } public void setPretaxGrossAmount(Float pretaxGrossAmount) { this.pretaxGrossAmount = pretaxGrossAmount; } public Float getCashAmount() { return this.cashAmount; } public void setCashAmount(Float cashAmount) { this.cashAmount = cashAmount; } public String getInstanceConfig() { return this.instanceConfig; } public void setInstanceConfig(String instanceConfig) { this.instanceConfig = instanceConfig; } public String getBillingDate() { return this.billingDate; } public void setBillingDate(String billingDate) { this.billingDate = billingDate; } public String getInternetIP() { return this.internetIP; } public void setInternetIP(String internetIP) { this.internetIP = internetIP; } public String getItem() { return this.item; } public void setItem(String item) { this.item = item; } public String getSplitItemID() { return this.splitItemID; } public void setSplitItemID(String splitItemID) { this.splitItemID = splitItemID; } public String getInstanceID() { return this.instanceID; } public void setInstanceID(String instanceID) { this.instanceID = instanceID; } public String getTag() { return this.tag; } public void setTag(String tag) { this.tag = tag; } public String getCurrency() { return this.currency; } public void setCurrency(String currency) { this.currency = currency; } public Float getDeductedByCashCoupons() { return this.deductedByCashCoupons; } public void setDeductedByCashCoupons(Float deductedByCashCoupons) { this.deductedByCashCoupons = deductedByCashCoupons; } public String getBillingItem() { return this.billingItem; } public void setBillingItem(String billingItem) { this.billingItem = billingItem; } public String getCostUnit() { return this.costUnit; } public void setCostUnit(String costUnit) { this.costUnit = costUnit; } public String getListPriceUnit() { return this.listPriceUnit; } public void setListPriceUnit(String listPriceUnit) { this.listPriceUnit = listPriceUnit; } public String getResourceGroup() { return this.resourceGroup; } public void setResourceGroup(String resourceGroup) { this.resourceGroup = resourceGroup; } public Float getPretaxAmount() { return this.pretaxAmount; } public void setPretaxAmount(Float pretaxAmount) { this.pretaxAmount = pretaxAmount; } public String getServicePeriodUnit() { return this.servicePeriodUnit; } public void setServicePeriodUnit(String servicePeriodUnit) { this.servicePeriodUnit = servicePeriodUnit; } public String getProductName() { return this.productName; } public void setProductName(String productName) { this.productName = productName; } public String getSplitProductDetail() { return this.splitProductDetail; } public void setSplitProductDetail(String splitProductDetail) { this.splitProductDetail = splitProductDetail; } public Float getAdjustAmount() { return this.adjustAmount; } public void setAdjustAmount(Float adjustAmount) { this.adjustAmount = adjustAmount; } public String getOwnerID() { return this.ownerID; } public void setOwnerID(String ownerID) { this.ownerID = ownerID; } public Float getDeductedByPrepaidCard() { return this.deductedByPrepaidCard; } public void setDeductedByPrepaidCard(Float deductedByPrepaidCard) { this.deductedByPrepaidCard = deductedByPrepaidCard; } public Float getInvoiceDiscount() { return this.invoiceDiscount; } public void setInvoiceDiscount(Float invoiceDiscount) { this.invoiceDiscount = invoiceDiscount; } public String getSplitAccountName() { return this.splitAccountName; } public void setSplitAccountName(String splitAccountName) { this.splitAccountName = splitAccountName; } public String getBillingType() { return this.billingType; } public void setBillingType(String billingType) { this.billingType = billingType; } public String getProductCode() { return this.productCode; } public void setProductCode(String productCode) { this.productCode = productCode; } } } @Override public QuerySplitItemBillResponse getInstance(UnmarshallerContext context) { return QuerySplitItemBillResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QueryUserOmsDataRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class QueryUserOmsDataRequest extends RpcAcsRequest<QueryUserOmsDataResponse> { private String endTime; private String startTime; private Long ownerId; private String dataType; private String marker; private Integer pageSize; private String table; public QueryUserOmsDataRequest() { super("BssOpenApi", "2017-12-14", "QueryUserOmsData", "bssopenapi"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; if(endTime != null){ putQueryParameter("EndTime", endTime); } } public String getStartTime() { return this.startTime; } public void setStartTime(String startTime) { this.startTime = startTime; if(startTime != null){ putQueryParameter("StartTime", startTime); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getDataType() { return this.dataType; } public void setDataType(String dataType) { this.dataType = dataType; if(dataType != null){ putQueryParameter("DataType", dataType); } } public String getMarker() { return this.marker; } public void setMarker(String marker) { this.marker = marker; if(marker != null){ putQueryParameter("Marker", marker); } } public Integer getPageSize() { return this.pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; if(pageSize != null){ putQueryParameter("PageSize", pageSize.toString()); } } public String getTable() { return this.table; } public void setTable(String table) { this.table = table; if(table != null){ putQueryParameter("Table", table); } } @Override public Class<QueryUserOmsDataResponse> getResponseClass() { return QueryUserOmsDataResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/QueryUserOmsDataResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import java.util.List; import java.util.Map; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.QueryUserOmsDataResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class QueryUserOmsDataResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; private Data data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String marker; private String hostId; private List<Map<Object,Object>> omsData; public String getMarker() { return this.marker; } public void setMarker(String marker) { this.marker = marker; } public String getHostId() { return this.hostId; } public void setHostId(String hostId) { this.hostId = hostId; } public List<Map<Object,Object>> getOmsData() { return this.omsData; } public void setOmsData(List<Map<Object,Object>> omsData) { this.omsData = omsData; } } @Override public QueryUserOmsDataResponse getInstance(UnmarshallerContext context) { return QueryUserOmsDataResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/RefundInstanceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class RefundInstanceRequest extends RpcAcsRequest<RefundInstanceResponse> { private String productCode; private String clientToken; private String immediatelyRelease; private String productType; private String instanceId; public RefundInstanceRequest() { super("BssOpenApi", "2017-12-14", "RefundInstance", "bssopenapi"); 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 getProductCode() { return this.productCode; } public void setProductCode(String productCode) { this.productCode = productCode; if(productCode != null){ putQueryParameter("ProductCode", productCode); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putQueryParameter("ClientToken", clientToken); } } public String getImmediatelyRelease() { return this.immediatelyRelease; } public void setImmediatelyRelease(String immediatelyRelease) { this.immediatelyRelease = immediatelyRelease; if(immediatelyRelease != null){ putQueryParameter("ImmediatelyRelease", immediatelyRelease); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } @Override public Class<RefundInstanceResponse> getResponseClass() { return RefundInstanceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/RefundInstanceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.RefundInstanceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RefundInstanceResponse extends AcsResponse { private String message; private String requestId; private String code; private Boolean success; private Data data; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String hostId; private Long orderId; public String getHostId() { return this.hostId; } public void setHostId(String hostId) { this.hostId = hostId; } public Long getOrderId() { return this.orderId; } public void setOrderId(Long orderId) { this.orderId = orderId; } } @Override public RefundInstanceResponse getInstance(UnmarshallerContext context) { return RefundInstanceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/ReleaseInstanceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class ReleaseInstanceRequest extends RpcAcsRequest<ReleaseInstanceResponse> { private String productCode; private String subscriptionType; private Long ownerId; private String productType; private String instanceIds; private String region; private String renewStatus; public ReleaseInstanceRequest() { super("BssOpenApi", "2017-12-14", "ReleaseInstance", "bssopenapi"); 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 getProductCode() { return this.productCode; } public void setProductCode(String productCode) { this.productCode = productCode; if(productCode != null){ putQueryParameter("ProductCode", productCode); } } public String getSubscriptionType() { return this.subscriptionType; } public void setSubscriptionType(String subscriptionType) { this.subscriptionType = subscriptionType; if(subscriptionType != null){ putQueryParameter("SubscriptionType", subscriptionType); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public String getInstanceIds() { return this.instanceIds; } public void setInstanceIds(String instanceIds) { this.instanceIds = instanceIds; if(instanceIds != null){ putQueryParameter("InstanceIds", instanceIds); } } public String getRegion() { return this.region; } public void setRegion(String region) { this.region = region; if(region != null){ putQueryParameter("Region", region); } } public String getRenewStatus() { return this.renewStatus; } public void setRenewStatus(String renewStatus) { this.renewStatus = renewStatus; if(renewStatus != null){ putQueryParameter("RenewStatus", renewStatus); } } @Override public Class<ReleaseInstanceResponse> getResponseClass() { return ReleaseInstanceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/ReleaseInstanceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.ReleaseInstanceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ReleaseInstanceResponse extends AcsResponse { private String message; private String requestId; private String code; private Boolean success; private Data data; public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Boolean releaseResult; private String hostId; public Boolean getReleaseResult() { return this.releaseResult; } public void setReleaseResult(Boolean releaseResult) { this.releaseResult = releaseResult; } public String getHostId() { return this.hostId; } public void setHostId(String hostId) { this.hostId = hostId; } } @Override public ReleaseInstanceResponse getInstance(UnmarshallerContext context) { return ReleaseInstanceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/RelieveAccountRelationRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class RelieveAccountRelationRequest extends RpcAcsRequest<RelieveAccountRelationResponse> { private String relationType; private Long parentUserId; private Long childUserId; private String requestId; private Long relationId; public RelieveAccountRelationRequest() { super("BssOpenApi", "2017-12-14", "RelieveAccountRelation", "bssopenapi"); 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 getRelationType() { return this.relationType; } public void setRelationType(String relationType) { this.relationType = relationType; if(relationType != null){ putQueryParameter("RelationType", relationType); } } public Long getParentUserId() { return this.parentUserId; } public void setParentUserId(Long parentUserId) { this.parentUserId = parentUserId; if(parentUserId != null){ putQueryParameter("ParentUserId", parentUserId.toString()); } } public Long getChildUserId() { return this.childUserId; } public void setChildUserId(Long childUserId) { this.childUserId = childUserId; if(childUserId != null){ putQueryParameter("ChildUserId", childUserId.toString()); } } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; if(requestId != null){ putQueryParameter("RequestId", requestId); } } public Long getRelationId() { return this.relationId; } public void setRelationId(Long relationId) { this.relationId = relationId; if(relationId != null){ putQueryParameter("RelationId", relationId.toString()); } } @Override public Class<RelieveAccountRelationResponse> getResponseClass() { return RelieveAccountRelationResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/RelieveAccountRelationResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.RelieveAccountRelationResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RelieveAccountRelationResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; private Data data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String hostId; public String getHostId() { return this.hostId; } public void setHostId(String hostId) { this.hostId = hostId; } } @Override public RelieveAccountRelationResponse getInstance(UnmarshallerContext context) { return RelieveAccountRelationResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/RenewChangeInstanceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.ProtocolType; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class RenewChangeInstanceRequest extends RpcAcsRequest<RenewChangeInstanceResponse> { private String productCode; private String clientToken; private Long ownerId; private String productType; private String instanceId; private Long renewPeriod; private List<Parameter> parameters; public RenewChangeInstanceRequest() { super("BssOpenApi", "2017-12-14", "RenewChangeInstance", "bssopenapi"); setProtocol(ProtocolType.HTTPS); 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 getProductCode() { return this.productCode; } public void setProductCode(String productCode) { this.productCode = productCode; if(productCode != null){ putQueryParameter("ProductCode", productCode); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putQueryParameter("ClientToken", clientToken); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public Long getRenewPeriod() { return this.renewPeriod; } public void setRenewPeriod(Long renewPeriod) { this.renewPeriod = renewPeriod; if(renewPeriod != null){ putQueryParameter("RenewPeriod", renewPeriod.toString()); } } public List<Parameter> getParameters() { return this.parameters; } public void setParameters(List<Parameter> parameters) { this.parameters = parameters; if (parameters != null) { for (int depth1 = 0; depth1 < parameters.size(); depth1++) { putQueryParameter("Parameter." + (depth1 + 1) + ".Code" , parameters.get(depth1).getCode()); putQueryParameter("Parameter." + (depth1 + 1) + ".Value" , parameters.get(depth1).getValue()); } } } public static class Parameter { private String code; private String value; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } } @Override public Class<RenewChangeInstanceResponse> getResponseClass() { return RenewChangeInstanceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/RenewChangeInstanceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.RenewChangeInstanceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RenewChangeInstanceResponse extends AcsResponse { private String requestId; private String code; private String message; private Boolean success; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String orderId; private String hostId; public String getOrderId() { return this.orderId; } public void setOrderId(String orderId) { this.orderId = orderId; } public String getHostId() { return this.hostId; } public void setHostId(String hostId) { this.hostId = hostId; } } @Override public RenewChangeInstanceResponse getInstance(UnmarshallerContext context) { return RenewChangeInstanceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/RenewInstanceRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class RenewInstanceRequest extends RpcAcsRequest<RenewInstanceResponse> { private String productCode; private String clientToken; private Long ownerId; private String productType; private String instanceId; private Integer renewPeriod; public RenewInstanceRequest() { super("BssOpenApi", "2017-12-14", "RenewInstance", "bssopenapi"); 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 getProductCode() { return this.productCode; } public void setProductCode(String productCode) { this.productCode = productCode; if(productCode != null){ putQueryParameter("ProductCode", productCode); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putQueryParameter("ClientToken", clientToken); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public Integer getRenewPeriod() { return this.renewPeriod; } public void setRenewPeriod(Integer renewPeriod) { this.renewPeriod = renewPeriod; if(renewPeriod != null){ putQueryParameter("RenewPeriod", renewPeriod.toString()); } } @Override public Class<RenewInstanceResponse> getResponseClass() { return RenewInstanceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/RenewInstanceResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.RenewInstanceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RenewInstanceResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; private Data data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String orderId; public String getOrderId() { return this.orderId; } public void setOrderId(String orderId) { this.orderId = orderId; } } @Override public RenewInstanceResponse getInstance(UnmarshallerContext context) { return RenewInstanceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/RenewResourcePackageRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class RenewResourcePackageRequest extends RpcAcsRequest<RenewResourcePackageResponse> { private Long ownerId; private String effectiveDate; private Integer duration; private String instanceId; private String pricingCycle; public RenewResourcePackageRequest() { super("BssOpenApi", "2017-12-14", "RenewResourcePackage", "bssopenapi"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getEffectiveDate() { return this.effectiveDate; } public void setEffectiveDate(String effectiveDate) { this.effectiveDate = effectiveDate; if(effectiveDate != null){ putQueryParameter("EffectiveDate", effectiveDate); } } public Integer getDuration() { return this.duration; } public void setDuration(Integer duration) { this.duration = duration; if(duration != null){ putQueryParameter("Duration", duration.toString()); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } public String getPricingCycle() { return this.pricingCycle; } public void setPricingCycle(String pricingCycle) { this.pricingCycle = pricingCycle; if(pricingCycle != null){ putQueryParameter("PricingCycle", pricingCycle); } } @Override public Class<RenewResourcePackageResponse> getResponseClass() { return RenewResourcePackageResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/RenewResourcePackageResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.RenewResourcePackageResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class RenewResourcePackageResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; private Long orderId; private Data data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Long getOrderId() { return this.orderId; } public void setOrderId(Long orderId) { this.orderId = orderId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Long orderId; private String instanceId; public Long getOrderId() { return this.orderId; } public void setOrderId(Long orderId) { this.orderId = orderId; } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } } @Override public RenewResourcePackageResponse getInstance(UnmarshallerContext context) { return RenewResourcePackageResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/SetAllExpirationDayRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class SetAllExpirationDayRequest extends RpcAcsRequest<SetAllExpirationDayResponse> { private Long ownerId; private String unifyExpireDay; public SetAllExpirationDayRequest() { super("BssOpenApi", "2017-12-14", "SetAllExpirationDay", "bssopenapi"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getUnifyExpireDay() { return this.unifyExpireDay; } public void setUnifyExpireDay(String unifyExpireDay) { this.unifyExpireDay = unifyExpireDay; if(unifyExpireDay != null){ putQueryParameter("UnifyExpireDay", unifyExpireDay); } } @Override public Class<SetAllExpirationDayResponse> getResponseClass() { return SetAllExpirationDayResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/SetAllExpirationDayResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.SetAllExpirationDayResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SetAllExpirationDayResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public 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; } @Override public SetAllExpirationDayResponse getInstance(UnmarshallerContext context) { return SetAllExpirationDayResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/SetRenewalRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class SetRenewalRequest extends RpcAcsRequest<SetRenewalResponse> { private String productCode; private String subscriptionType; private Integer renewalPeriod; private Long ownerId; private String productType; private String instanceIDs; private String renewalStatus; private String renewalPeriodUnit; public SetRenewalRequest() { super("BssOpenApi", "2017-12-14", "SetRenewal", "bssopenapi"); 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 getProductCode() { return this.productCode; } public void setProductCode(String productCode) { this.productCode = productCode; if(productCode != null){ putQueryParameter("ProductCode", productCode); } } public String getSubscriptionType() { return this.subscriptionType; } public void setSubscriptionType(String subscriptionType) { this.subscriptionType = subscriptionType; if(subscriptionType != null){ putQueryParameter("SubscriptionType", subscriptionType); } } public Integer getRenewalPeriod() { return this.renewalPeriod; } public void setRenewalPeriod(Integer renewalPeriod) { this.renewalPeriod = renewalPeriod; if(renewalPeriod != null){ putQueryParameter("RenewalPeriod", renewalPeriod.toString()); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getProductType() { return this.productType; } public void setProductType(String productType) { this.productType = productType; if(productType != null){ putQueryParameter("ProductType", productType); } } public String getInstanceIDs() { return this.instanceIDs; } public void setInstanceIDs(String instanceIDs) { this.instanceIDs = instanceIDs; if(instanceIDs != null){ putQueryParameter("InstanceIDs", instanceIDs); } } public String getRenewalStatus() { return this.renewalStatus; } public void setRenewalStatus(String renewalStatus) { this.renewalStatus = renewalStatus; if(renewalStatus != null){ putQueryParameter("RenewalStatus", renewalStatus); } } public String getRenewalPeriodUnit() { return this.renewalPeriodUnit; } public void setRenewalPeriodUnit(String renewalPeriodUnit) { this.renewalPeriodUnit = renewalPeriodUnit; if(renewalPeriodUnit != null){ putQueryParameter("RenewalPeriodUnit", renewalPeriodUnit); } } @Override public Class<SetRenewalResponse> getResponseClass() { return SetRenewalResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/SetRenewalResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.SetRenewalResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SetRenewalResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public 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; } @Override public SetRenewalResponse getInstance(UnmarshallerContext context) { return SetRenewalResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/SetResellerUserAlarmThresholdRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class SetResellerUserAlarmThresholdRequest extends RpcAcsRequest<SetResellerUserAlarmThresholdResponse> { private String alarmType; private String alarmThresholds; private Long ownerId; public SetResellerUserAlarmThresholdRequest() { super("BssOpenApi", "2017-12-14", "SetResellerUserAlarmThreshold", "bssopenapi"); 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 getAlarmType() { return this.alarmType; } public void setAlarmType(String alarmType) { this.alarmType = alarmType; if(alarmType != null){ putQueryParameter("AlarmType", alarmType); } } public String getAlarmThresholds() { return this.alarmThresholds; } public void setAlarmThresholds(String alarmThresholds) { this.alarmThresholds = alarmThresholds; if(alarmThresholds != null){ putQueryParameter("AlarmThresholds", alarmThresholds); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } @Override public Class<SetResellerUserAlarmThresholdResponse> getResponseClass() { return SetResellerUserAlarmThresholdResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/SetResellerUserAlarmThresholdResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.SetResellerUserAlarmThresholdResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SetResellerUserAlarmThresholdResponse extends AcsResponse { private String code; private String message; private Boolean data; private String requestId; private Boolean success; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Boolean getData() { return this.data; } public void setData(Boolean data) { this.data = data; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public SetResellerUserAlarmThresholdResponse getInstance(UnmarshallerContext context) { return SetResellerUserAlarmThresholdResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/SetResellerUserQuotaRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class SetResellerUserQuotaRequest extends RpcAcsRequest<SetResellerUserQuotaResponse> { private String amount; private String outBizId; private Long ownerId; private String currency; public SetResellerUserQuotaRequest() { super("BssOpenApi", "2017-12-14", "SetResellerUserQuota", "bssopenapi"); 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 getAmount() { return this.amount; } public void setAmount(String amount) { this.amount = amount; if(amount != null){ putQueryParameter("Amount", amount); } } public String getOutBizId() { return this.outBizId; } public void setOutBizId(String outBizId) { this.outBizId = outBizId; if(outBizId != null){ putQueryParameter("OutBizId", outBizId); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getCurrency() { return this.currency; } public void setCurrency(String currency) { this.currency = currency; if(currency != null){ putQueryParameter("Currency", currency); } } @Override public Class<SetResellerUserQuotaResponse> getResponseClass() { return SetResellerUserQuotaResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/SetResellerUserQuotaResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.SetResellerUserQuotaResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SetResellerUserQuotaResponse extends AcsResponse { private String code; private String message; private Boolean data; private String requestId; private Boolean success; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Boolean getData() { return this.data; } public void setData(Boolean data) { this.data = data; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public SetResellerUserQuotaResponse getInstance(UnmarshallerContext context) { return SetResellerUserQuotaResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/SetResellerUserStatusRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class SetResellerUserStatusRequest extends RpcAcsRequest<SetResellerUserStatusResponse> { private String stopMode; private String ownerId; private String businessType; private String status; public SetResellerUserStatusRequest() { super("BssOpenApi", "2017-12-14", "SetResellerUserStatus", "bssopenapi"); 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 getStopMode() { return this.stopMode; } public void setStopMode(String stopMode) { this.stopMode = stopMode; if(stopMode != null){ putQueryParameter("StopMode", stopMode); } } public String getOwnerId() { return this.ownerId; } public void setOwnerId(String ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId); } } public String getBusinessType() { return this.businessType; } public void setBusinessType(String businessType) { this.businessType = businessType; if(businessType != null){ putQueryParameter("BusinessType", businessType); } } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; if(status != null){ putQueryParameter("Status", status); } } @Override public Class<SetResellerUserStatusResponse> getResponseClass() { return SetResellerUserStatusResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/SetResellerUserStatusResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.SetResellerUserStatusResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SetResellerUserStatusResponse extends AcsResponse { private String code; private String message; private Boolean data; private String requestId; private Boolean success; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Boolean getData() { return this.data; } public void setData(Boolean data) { this.data = data; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public SetResellerUserStatusResponse getInstance(UnmarshallerContext context) { return SetResellerUserStatusResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/SubscribeBillToOSSRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class SubscribeBillToOSSRequest extends RpcAcsRequest<SubscribeBillToOSSResponse> { private Long bucketOwnerId; private String subscribeType; private String subscribeBucket; private String bucketPath; private String beginBillingCycle; private Integer rowLimitPerFile; private String multAccountRelSubscribe; public SubscribeBillToOSSRequest() { super("BssOpenApi", "2017-12-14", "SubscribeBillToOSS", "bssopenapi"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public Long getBucketOwnerId() { return this.bucketOwnerId; } public void setBucketOwnerId(Long bucketOwnerId) { this.bucketOwnerId = bucketOwnerId; if(bucketOwnerId != null){ putQueryParameter("BucketOwnerId", bucketOwnerId.toString()); } } public String getSubscribeType() { return this.subscribeType; } public void setSubscribeType(String subscribeType) { this.subscribeType = subscribeType; if(subscribeType != null){ putQueryParameter("SubscribeType", subscribeType); } } public String getSubscribeBucket() { return this.subscribeBucket; } public void setSubscribeBucket(String subscribeBucket) { this.subscribeBucket = subscribeBucket; if(subscribeBucket != null){ putQueryParameter("SubscribeBucket", subscribeBucket); } } public String getBucketPath() { return this.bucketPath; } public void setBucketPath(String bucketPath) { this.bucketPath = bucketPath; if(bucketPath != null){ putQueryParameter("BucketPath", bucketPath); } } public String getBeginBillingCycle() { return this.beginBillingCycle; } public void setBeginBillingCycle(String beginBillingCycle) { this.beginBillingCycle = beginBillingCycle; if(beginBillingCycle != null){ putQueryParameter("BeginBillingCycle", beginBillingCycle); } } public Integer getRowLimitPerFile() { return this.rowLimitPerFile; } public void setRowLimitPerFile(Integer rowLimitPerFile) { this.rowLimitPerFile = rowLimitPerFile; if(rowLimitPerFile != null){ putQueryParameter("RowLimitPerFile", rowLimitPerFile.toString()); } } public String getMultAccountRelSubscribe() { return this.multAccountRelSubscribe; } public void setMultAccountRelSubscribe(String multAccountRelSubscribe) { this.multAccountRelSubscribe = multAccountRelSubscribe; if(multAccountRelSubscribe != null){ putQueryParameter("MultAccountRelSubscribe", multAccountRelSubscribe); } } @Override public Class<SubscribeBillToOSSResponse> getResponseClass() { return SubscribeBillToOSSResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/SubscribeBillToOSSResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.SubscribeBillToOSSResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class SubscribeBillToOSSResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public 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; } @Override public SubscribeBillToOSSResponse getInstance(UnmarshallerContext context) { return SubscribeBillToOSSResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/TagResourcesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class TagResourcesRequest extends RpcAcsRequest<TagResourcesResponse> { private List<String> resourceIds; private String resourceType; private List<Tag> tags; public TagResourcesRequest() { super("BssOpenApi", "2017-12-14", "TagResources", "bssopenapi"); 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 List<String> getResourceIds() { return this.resourceIds; } public void setResourceIds(List<String> resourceIds) { this.resourceIds = resourceIds; if (resourceIds != null) { for (int i = 0; i < resourceIds.size(); i++) { putQueryParameter("ResourceId." + (i + 1) , resourceIds.get(i)); } } } public String getResourceType() { return this.resourceType; } public void setResourceType(String resourceType) { this.resourceType = resourceType; if(resourceType != null){ putQueryParameter("ResourceType", resourceType); } } public List<Tag> getTags() { return this.tags; } public void setTags(List<Tag> tags) { this.tags = tags; if (tags != null) { for (int depth1 = 0; depth1 < tags.size(); depth1++) { putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue()); putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey()); } } } public static class Tag { private String value; private String key; public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } public String getKey() { return this.key; } public void setKey(String key) { this.key = key; } } @Override public Class<TagResourcesResponse> getResponseClass() { return TagResourcesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/TagResourcesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.TagResourcesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class TagResourcesResponse extends AcsResponse { private String code; private String message; private Boolean data; private String requestId; private Boolean success; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Boolean getData() { return this.data; } public void setData(Boolean data) { this.data = data; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public TagResourcesResponse getInstance(UnmarshallerContext context) { return TagResourcesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/UnsubscribeBillToOSSRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class UnsubscribeBillToOSSRequest extends RpcAcsRequest<UnsubscribeBillToOSSResponse> { private String subscribeType; private String multAccountRelSubscribe; public UnsubscribeBillToOSSRequest() { super("BssOpenApi", "2017-12-14", "UnsubscribeBillToOSS", "bssopenapi"); 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 getSubscribeType() { return this.subscribeType; } public void setSubscribeType(String subscribeType) { this.subscribeType = subscribeType; if(subscribeType != null){ putQueryParameter("SubscribeType", subscribeType); } } public String getMultAccountRelSubscribe() { return this.multAccountRelSubscribe; } public void setMultAccountRelSubscribe(String multAccountRelSubscribe) { this.multAccountRelSubscribe = multAccountRelSubscribe; if(multAccountRelSubscribe != null){ putQueryParameter("MultAccountRelSubscribe", multAccountRelSubscribe); } } @Override public Class<UnsubscribeBillToOSSResponse> getResponseClass() { return UnsubscribeBillToOSSResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/UnsubscribeBillToOSSResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.UnsubscribeBillToOSSResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UnsubscribeBillToOSSResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public 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; } @Override public UnsubscribeBillToOSSResponse getInstance(UnmarshallerContext context) { return UnsubscribeBillToOSSResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/UntagResourcesRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class UntagResourcesRequest extends RpcAcsRequest<UntagResourcesResponse> { private Boolean all; private List<String> resourceIds; private String resourceType; private List<String> tagKeys; public UntagResourcesRequest() { super("BssOpenApi", "2017-12-14", "UntagResources", "bssopenapi"); 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 Boolean getAll() { return this.all; } public void setAll(Boolean all) { this.all = all; if(all != null){ putQueryParameter("All", all.toString()); } } public List<String> getResourceIds() { return this.resourceIds; } public void setResourceIds(List<String> resourceIds) { this.resourceIds = resourceIds; if (resourceIds != null) { for (int i = 0; i < resourceIds.size(); i++) { putQueryParameter("ResourceId." + (i + 1) , resourceIds.get(i)); } } } public String getResourceType() { return this.resourceType; } public void setResourceType(String resourceType) { this.resourceType = resourceType; if(resourceType != null){ putQueryParameter("ResourceType", resourceType); } } public List<String> getTagKeys() { return this.tagKeys; } public void setTagKeys(List<String> tagKeys) { this.tagKeys = tagKeys; if (tagKeys != null) { for (int i = 0; i < tagKeys.size(); i++) { putQueryParameter("TagKey." + (i + 1) , tagKeys.get(i)); } } } @Override public Class<UntagResourcesResponse> getResponseClass() { return UntagResourcesResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/UntagResourcesResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.UntagResourcesResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UntagResourcesResponse extends AcsResponse { private String code; private String message; private Boolean data; private String requestId; private Boolean success; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Boolean getData() { return this.data; } public void setData(Boolean data) { this.data = data; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } @Override public UntagResourcesResponse getInstance(UnmarshallerContext context) { return UntagResourcesResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/UpgradeResourcePackageRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.bssopenapi.Endpoint; /** * @author auto create * @version */ public class UpgradeResourcePackageRequest extends RpcAcsRequest<UpgradeResourcePackageResponse> { private String specification; private Long ownerId; private String effectiveDate; private String instanceId; public UpgradeResourcePackageRequest() { super("BssOpenApi", "2017-12-14", "UpgradeResourcePackage", "bssopenapi"); 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 getSpecification() { return this.specification; } public void setSpecification(String specification) { this.specification = specification; if(specification != null){ putQueryParameter("Specification", specification); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getEffectiveDate() { return this.effectiveDate; } public void setEffectiveDate(String effectiveDate) { this.effectiveDate = effectiveDate; if(effectiveDate != null){ putQueryParameter("EffectiveDate", effectiveDate); } } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; if(instanceId != null){ putQueryParameter("InstanceId", instanceId); } } @Override public Class<UpgradeResourcePackageResponse> getResponseClass() { return UpgradeResourcePackageResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/model/v20171214/UpgradeResourcePackageResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.model.v20171214; import com.aliyuncs.AcsResponse; import com.aliyuncs.bssopenapi.transform.v20171214.UpgradeResourcePackageResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class UpgradeResourcePackageResponse extends AcsResponse { private String code; private String message; private String requestId; private Boolean success; private Long orderId; private Data data; public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Long getOrderId() { return this.orderId; } public void setOrderId(Long orderId) { this.orderId = orderId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private Long orderId; private String instanceId; public Long getOrderId() { return this.orderId; } public void setOrderId(Long orderId) { this.orderId = orderId; } public String getInstanceId() { return this.instanceId; } public void setInstanceId(String instanceId) { this.instanceId = instanceId; } } @Override public UpgradeResourcePackageResponse getInstance(UnmarshallerContext context) { return UpgradeResourcePackageResponseUnmarshaller.unmarshall(this, context); } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/AddAccountRelationResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.AddAccountRelationResponse; import com.aliyuncs.bssopenapi.model.v20171214.AddAccountRelationResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class AddAccountRelationResponseUnmarshaller { public static AddAccountRelationResponse unmarshall(AddAccountRelationResponse addAccountRelationResponse, UnmarshallerContext _ctx) { addAccountRelationResponse.setRequestId(_ctx.stringValue("AddAccountRelationResponse.RequestId")); addAccountRelationResponse.setCode(_ctx.stringValue("AddAccountRelationResponse.Code")); addAccountRelationResponse.setMessage(_ctx.stringValue("AddAccountRelationResponse.Message")); addAccountRelationResponse.setSuccess(_ctx.booleanValue("AddAccountRelationResponse.Success")); Data data = new Data(); data.setHostId(_ctx.stringValue("AddAccountRelationResponse.Data.HostId")); data.setRelationId(_ctx.longValue("AddAccountRelationResponse.Data.RelationId")); addAccountRelationResponse.setData(data); return addAccountRelationResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/AllocateCostUnitResourceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.AllocateCostUnitResourceResponse; import com.aliyuncs.bssopenapi.model.v20171214.AllocateCostUnitResourceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class AllocateCostUnitResourceResponseUnmarshaller { public static AllocateCostUnitResourceResponse unmarshall(AllocateCostUnitResourceResponse allocateCostUnitResourceResponse, UnmarshallerContext _ctx) { allocateCostUnitResourceResponse.setRequestId(_ctx.stringValue("AllocateCostUnitResourceResponse.RequestId")); allocateCostUnitResourceResponse.setCode(_ctx.stringValue("AllocateCostUnitResourceResponse.Code")); allocateCostUnitResourceResponse.setMessage(_ctx.stringValue("AllocateCostUnitResourceResponse.Message")); allocateCostUnitResourceResponse.setSuccess(_ctx.booleanValue("AllocateCostUnitResourceResponse.Success")); Data data = new Data(); data.setToUnitUserId(_ctx.longValue("AllocateCostUnitResourceResponse.Data.ToUnitUserId")); data.setIsSuccess(_ctx.booleanValue("AllocateCostUnitResourceResponse.Data.IsSuccess")); data.setToUnitId(_ctx.longValue("AllocateCostUnitResourceResponse.Data.ToUnitId")); allocateCostUnitResourceResponse.setData(data); return allocateCostUnitResourceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/ApplyInvoiceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.ApplyInvoiceResponse; import com.aliyuncs.bssopenapi.model.v20171214.ApplyInvoiceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class ApplyInvoiceResponseUnmarshaller { public static ApplyInvoiceResponse unmarshall(ApplyInvoiceResponse applyInvoiceResponse, UnmarshallerContext _ctx) { applyInvoiceResponse.setRequestId(_ctx.stringValue("ApplyInvoiceResponse.RequestId")); applyInvoiceResponse.setCode(_ctx.stringValue("ApplyInvoiceResponse.Code")); applyInvoiceResponse.setMessage(_ctx.stringValue("ApplyInvoiceResponse.Message")); applyInvoiceResponse.setSuccess(_ctx.booleanValue("ApplyInvoiceResponse.Success")); Data data = new Data(); data.setInvoiceApplyId(_ctx.longValue("ApplyInvoiceResponse.Data.InvoiceApplyId")); applyInvoiceResponse.setData(data); return applyInvoiceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/CancelOrderResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.CancelOrderResponse; import com.aliyuncs.bssopenapi.model.v20171214.CancelOrderResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class CancelOrderResponseUnmarshaller { public static CancelOrderResponse unmarshall(CancelOrderResponse cancelOrderResponse, UnmarshallerContext _ctx) { cancelOrderResponse.setRequestId(_ctx.stringValue("CancelOrderResponse.RequestId")); cancelOrderResponse.setCode(_ctx.stringValue("CancelOrderResponse.Code")); cancelOrderResponse.setMessage(_ctx.stringValue("CancelOrderResponse.Message")); cancelOrderResponse.setSuccess(_ctx.booleanValue("CancelOrderResponse.Success")); Data data = new Data(); data.setHostId(_ctx.stringValue("CancelOrderResponse.Data.HostId")); cancelOrderResponse.setData(data); return cancelOrderResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/ChangeResellerConsumeAmountResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.ChangeResellerConsumeAmountResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ChangeResellerConsumeAmountResponseUnmarshaller { public static ChangeResellerConsumeAmountResponse unmarshall(ChangeResellerConsumeAmountResponse changeResellerConsumeAmountResponse, UnmarshallerContext _ctx) { changeResellerConsumeAmountResponse.setRequestId(_ctx.stringValue("ChangeResellerConsumeAmountResponse.RequestId")); changeResellerConsumeAmountResponse.setCode(_ctx.stringValue("ChangeResellerConsumeAmountResponse.Code")); changeResellerConsumeAmountResponse.setMessage(_ctx.stringValue("ChangeResellerConsumeAmountResponse.Message")); changeResellerConsumeAmountResponse.setData(_ctx.stringValue("ChangeResellerConsumeAmountResponse.Data")); changeResellerConsumeAmountResponse.setSuccess(_ctx.booleanValue("ChangeResellerConsumeAmountResponse.Success")); return changeResellerConsumeAmountResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/ConfirmRelationResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.ConfirmRelationResponse; import com.aliyuncs.bssopenapi.model.v20171214.ConfirmRelationResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class ConfirmRelationResponseUnmarshaller { public static ConfirmRelationResponse unmarshall(ConfirmRelationResponse confirmRelationResponse, UnmarshallerContext _ctx) { confirmRelationResponse.setRequestId(_ctx.stringValue("ConfirmRelationResponse.RequestId")); confirmRelationResponse.setCode(_ctx.stringValue("ConfirmRelationResponse.Code")); confirmRelationResponse.setMessage(_ctx.stringValue("ConfirmRelationResponse.Message")); confirmRelationResponse.setSuccess(_ctx.booleanValue("ConfirmRelationResponse.Success")); Data data = new Data(); data.setHostId(_ctx.stringValue("ConfirmRelationResponse.Data.HostId")); confirmRelationResponse.setData(data); return confirmRelationResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/ConvertChargeTypeResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.ConvertChargeTypeResponse; import com.aliyuncs.bssopenapi.model.v20171214.ConvertChargeTypeResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class ConvertChargeTypeResponseUnmarshaller { public static ConvertChargeTypeResponse unmarshall(ConvertChargeTypeResponse convertChargeTypeResponse, UnmarshallerContext _ctx) { convertChargeTypeResponse.setRequestId(_ctx.stringValue("ConvertChargeTypeResponse.RequestId")); convertChargeTypeResponse.setCode(_ctx.stringValue("ConvertChargeTypeResponse.Code")); convertChargeTypeResponse.setMessage(_ctx.stringValue("ConvertChargeTypeResponse.Message")); convertChargeTypeResponse.setSuccess(_ctx.booleanValue("ConvertChargeTypeResponse.Success")); Data data = new Data(); data.setOrderId(_ctx.stringValue("ConvertChargeTypeResponse.Data.OrderId")); convertChargeTypeResponse.setData(data); return convertChargeTypeResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/CreateAgAccountResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.CreateAgAccountResponse; import com.aliyuncs.bssopenapi.model.v20171214.CreateAgAccountResponse.AgRelationDto; import com.aliyuncs.transform.UnmarshallerContext; public class CreateAgAccountResponseUnmarshaller { public static CreateAgAccountResponse unmarshall(CreateAgAccountResponse createAgAccountResponse, UnmarshallerContext _ctx) { createAgAccountResponse.setRequestId(_ctx.stringValue("CreateAgAccountResponse.RequestId")); createAgAccountResponse.setCode(_ctx.stringValue("CreateAgAccountResponse.Code")); createAgAccountResponse.setMessage(_ctx.stringValue("CreateAgAccountResponse.Message")); createAgAccountResponse.setSuccess(_ctx.booleanValue("CreateAgAccountResponse.Success")); AgRelationDto agRelationDto = new AgRelationDto(); agRelationDto.setType(_ctx.stringValue("CreateAgAccountResponse.AgRelationDto.Type")); agRelationDto.setPk(_ctx.stringValue("CreateAgAccountResponse.AgRelationDto.Pk")); agRelationDto.setRamAdminRoleName(_ctx.stringValue("CreateAgAccountResponse.AgRelationDto.RamAdminRoleName")); agRelationDto.setMpk(_ctx.stringValue("CreateAgAccountResponse.AgRelationDto.Mpk")); createAgAccountResponse.setAgRelationDto(agRelationDto); return createAgAccountResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/CreateCostUnitResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.CreateCostUnitResponse; import com.aliyuncs.bssopenapi.model.v20171214.CreateCostUnitResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.CreateCostUnitResponse.Data.CostUnitDtoListItem; import com.aliyuncs.transform.UnmarshallerContext; public class CreateCostUnitResponseUnmarshaller { public static CreateCostUnitResponse unmarshall(CreateCostUnitResponse createCostUnitResponse, UnmarshallerContext _ctx) { createCostUnitResponse.setRequestId(_ctx.stringValue("CreateCostUnitResponse.RequestId")); createCostUnitResponse.setCode(_ctx.stringValue("CreateCostUnitResponse.Code")); createCostUnitResponse.setMessage(_ctx.stringValue("CreateCostUnitResponse.Message")); createCostUnitResponse.setSuccess(_ctx.booleanValue("CreateCostUnitResponse.Success")); Data data = new Data(); List<CostUnitDtoListItem> costUnitDtoList = new ArrayList<CostUnitDtoListItem>(); for (int i = 0; i < _ctx.lengthValue("CreateCostUnitResponse.Data.CostUnitDtoList.Length"); i++) { CostUnitDtoListItem costUnitDtoListItem = new CostUnitDtoListItem(); costUnitDtoListItem.setParentUnitId(_ctx.longValue("CreateCostUnitResponse.Data.CostUnitDtoList["+ i +"].ParentUnitId")); costUnitDtoListItem.setUnitName(_ctx.stringValue("CreateCostUnitResponse.Data.CostUnitDtoList["+ i +"].UnitName")); costUnitDtoListItem.setUnitId(_ctx.longValue("CreateCostUnitResponse.Data.CostUnitDtoList["+ i +"].UnitId")); costUnitDtoListItem.setOwnerUid(_ctx.longValue("CreateCostUnitResponse.Data.CostUnitDtoList["+ i +"].OwnerUid")); costUnitDtoList.add(costUnitDtoListItem); } data.setCostUnitDtoList(costUnitDtoList); createCostUnitResponse.setData(data); return createCostUnitResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/CreateInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.CreateInstanceResponse; import com.aliyuncs.bssopenapi.model.v20171214.CreateInstanceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class CreateInstanceResponseUnmarshaller { public static CreateInstanceResponse unmarshall(CreateInstanceResponse createInstanceResponse, UnmarshallerContext _ctx) { createInstanceResponse.setRequestId(_ctx.stringValue("CreateInstanceResponse.RequestId")); createInstanceResponse.setCode(_ctx.stringValue("CreateInstanceResponse.Code")); createInstanceResponse.setMessage(_ctx.stringValue("CreateInstanceResponse.Message")); createInstanceResponse.setSuccess(_ctx.booleanValue("CreateInstanceResponse.Success")); Data data = new Data(); data.setOrderId(_ctx.stringValue("CreateInstanceResponse.Data.OrderId")); data.setInstanceId(_ctx.stringValue("CreateInstanceResponse.Data.InstanceId")); createInstanceResponse.setData(data); return createInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/CreateResellerUserQuotaResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.CreateResellerUserQuotaResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateResellerUserQuotaResponseUnmarshaller { public static CreateResellerUserQuotaResponse unmarshall(CreateResellerUserQuotaResponse createResellerUserQuotaResponse, UnmarshallerContext _ctx) { createResellerUserQuotaResponse.setRequestId(_ctx.stringValue("CreateResellerUserQuotaResponse.RequestId")); createResellerUserQuotaResponse.setCode(_ctx.stringValue("CreateResellerUserQuotaResponse.Code")); createResellerUserQuotaResponse.setMessage(_ctx.stringValue("CreateResellerUserQuotaResponse.Message")); createResellerUserQuotaResponse.setData(_ctx.booleanValue("CreateResellerUserQuotaResponse.Data")); createResellerUserQuotaResponse.setSuccess(_ctx.booleanValue("CreateResellerUserQuotaResponse.Success")); return createResellerUserQuotaResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/CreateResourcePackageResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.CreateResourcePackageResponse; import com.aliyuncs.bssopenapi.model.v20171214.CreateResourcePackageResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class CreateResourcePackageResponseUnmarshaller { public static CreateResourcePackageResponse unmarshall(CreateResourcePackageResponse createResourcePackageResponse, UnmarshallerContext _ctx) { createResourcePackageResponse.setRequestId(_ctx.stringValue("CreateResourcePackageResponse.RequestId")); createResourcePackageResponse.setCode(_ctx.stringValue("CreateResourcePackageResponse.Code")); createResourcePackageResponse.setMessage(_ctx.stringValue("CreateResourcePackageResponse.Message")); createResourcePackageResponse.setSuccess(_ctx.booleanValue("CreateResourcePackageResponse.Success")); createResourcePackageResponse.setOrderId(_ctx.longValue("CreateResourcePackageResponse.OrderId")); Data data = new Data(); data.setOrderId(_ctx.longValue("CreateResourcePackageResponse.Data.OrderId")); data.setInstanceId(_ctx.stringValue("CreateResourcePackageResponse.Data.InstanceId")); createResourcePackageResponse.setData(data); return createResourcePackageResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/CreateSavingsPlansInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.CreateSavingsPlansInstanceResponse; import com.aliyuncs.bssopenapi.model.v20171214.CreateSavingsPlansInstanceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class CreateSavingsPlansInstanceResponseUnmarshaller { public static CreateSavingsPlansInstanceResponse unmarshall(CreateSavingsPlansInstanceResponse createSavingsPlansInstanceResponse, UnmarshallerContext _ctx) { createSavingsPlansInstanceResponse.setRequestId(_ctx.stringValue("CreateSavingsPlansInstanceResponse.RequestId")); createSavingsPlansInstanceResponse.setMessage(_ctx.stringValue("CreateSavingsPlansInstanceResponse.Message")); createSavingsPlansInstanceResponse.setCode(_ctx.stringValue("CreateSavingsPlansInstanceResponse.Code")); createSavingsPlansInstanceResponse.setSuccess(_ctx.booleanValue("CreateSavingsPlansInstanceResponse.Success")); Data data = new Data(); data.setOrderId(_ctx.longValue("CreateSavingsPlansInstanceResponse.Data.OrderId")); createSavingsPlansInstanceResponse.setData(data); return createSavingsPlansInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DeleteCostUnitResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.DeleteCostUnitResponse; import com.aliyuncs.bssopenapi.model.v20171214.DeleteCostUnitResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteCostUnitResponseUnmarshaller { public static DeleteCostUnitResponse unmarshall(DeleteCostUnitResponse deleteCostUnitResponse, UnmarshallerContext _ctx) { deleteCostUnitResponse.setRequestId(_ctx.stringValue("DeleteCostUnitResponse.RequestId")); deleteCostUnitResponse.setCode(_ctx.stringValue("DeleteCostUnitResponse.Code")); deleteCostUnitResponse.setMessage(_ctx.stringValue("DeleteCostUnitResponse.Message")); deleteCostUnitResponse.setSuccess(_ctx.booleanValue("DeleteCostUnitResponse.Success")); Data data = new Data(); data.setIsSuccess(_ctx.booleanValue("DeleteCostUnitResponse.Data.IsSuccess")); data.setUnitId(_ctx.longValue("DeleteCostUnitResponse.Data.UnitId")); data.setOwnerUid(_ctx.longValue("DeleteCostUnitResponse.Data.OwnerUid")); deleteCostUnitResponse.setData(data); return deleteCostUnitResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeCostBudgetsSummaryResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeCostBudgetsSummaryResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeCostBudgetsSummaryResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeCostBudgetsSummaryResponse.Data.Item; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeCostBudgetsSummaryResponseUnmarshaller { public static DescribeCostBudgetsSummaryResponse unmarshall(DescribeCostBudgetsSummaryResponse describeCostBudgetsSummaryResponse, UnmarshallerContext _ctx) { describeCostBudgetsSummaryResponse.setRequestId(_ctx.stringValue("DescribeCostBudgetsSummaryResponse.RequestId")); describeCostBudgetsSummaryResponse.setSuccess(_ctx.booleanValue("DescribeCostBudgetsSummaryResponse.Success")); describeCostBudgetsSummaryResponse.setCode(_ctx.stringValue("DescribeCostBudgetsSummaryResponse.Code")); describeCostBudgetsSummaryResponse.setMessage(_ctx.stringValue("DescribeCostBudgetsSummaryResponse.Message")); Data data = new Data(); data.setNextToken(_ctx.stringValue("DescribeCostBudgetsSummaryResponse.Data.NextToken")); data.setMaxResults(_ctx.integerValue("DescribeCostBudgetsSummaryResponse.Data.MaxResults")); data.setTotalCount(_ctx.integerValue("DescribeCostBudgetsSummaryResponse.Data.TotalCount")); data.setHostId(_ctx.stringValue("DescribeCostBudgetsSummaryResponse.Data.HostId")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeCostBudgetsSummaryResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setBudgetName(_ctx.stringValue("DescribeCostBudgetsSummaryResponse.Data.Items["+ i +"].BudgetName")); item.setBudgetStatus(_ctx.stringValue("DescribeCostBudgetsSummaryResponse.Data.Items["+ i +"].BudgetStatus")); item.setBudgetType(_ctx.stringValue("DescribeCostBudgetsSummaryResponse.Data.Items["+ i +"].BudgetType")); item.setBudget(_ctx.mapValue("DescribeCostBudgetsSummaryResponse.Data.Items["+ i +"].Budget")); item.setCalculatedValues(_ctx.mapValue("DescribeCostBudgetsSummaryResponse.Data.Items["+ i +"].CalculatedValues")); item.setConsumePeriod(_ctx.mapValue("DescribeCostBudgetsSummaryResponse.Data.Items["+ i +"].ConsumePeriod")); items.add(item); } data.setItems(items); describeCostBudgetsSummaryResponse.setData(data); return describeCostBudgetsSummaryResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeInstanceAmortizedCostByAmortizationPeriodDateResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeInstanceAmortizedCostByAmortizationPeriodDateResponseUnmarshaller { public static DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse unmarshall(DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse describeInstanceAmortizedCostByAmortizationPeriodDateResponse, UnmarshallerContext _ctx) { describeInstanceAmortizedCostByAmortizationPeriodDateResponse.setRequestId(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.RequestId")); describeInstanceAmortizedCostByAmortizationPeriodDateResponse.setSuccess(_ctx.booleanValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Success")); describeInstanceAmortizedCostByAmortizationPeriodDateResponse.setCode(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Code")); describeInstanceAmortizedCostByAmortizationPeriodDateResponse.setMessage(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Message")); Data data = new Data(); data.setNextToken(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.NextToken")); data.setAccountID(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.AccountID")); data.setAccountName(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.AccountName")); data.setMaxResults(_ctx.integerValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.MaxResults")); data.setTotalCount(_ctx.integerValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.TotalCount")); data.setHostId(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.HostId")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setCostUnit(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].CostUnit")); item.setCostUnitCode(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].CostUnitCode")); item.setInstanceID(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].InstanceID")); item.setResourceGroup(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].ResourceGroup")); item.setTag(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].Tag")); item.setInternetIP(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].InternetIP")); item.setIntranetIP(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].IntranetIP")); item.setRegion(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].Region")); item.setZone(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].Zone")); item.setSplitAccountName(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].SplitAccountName")); item.setSplitProductDetail(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].SplitProductDetail")); item.setSplitItemID(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].SplitItemID")); item.setSplitItemName(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].SplitItemName")); item.setConsumePeriod(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].ConsumePeriod")); item.setConsumePeriodDay(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].ConsumePeriodDay")); item.setAmortizationStatus(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].AmortizationStatus")); item.setAmortizationPeriod(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].AmortizationPeriod")); item.setAmortizationPeriodDay(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].AmortizationPeriodDay")); item.setBillAccountID(_ctx.longValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].BillAccountID")); item.setBillAccountName(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].BillAccountName")); item.setBillOwnerID(_ctx.longValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].BillOwnerID")); item.setBillOwnerName(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].BillOwnerName")); item.setProductCode(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].ProductCode")); item.setProductName(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].ProductName")); item.setProductDetailCode(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].ProductDetailCode")); item.setProductDetail(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].ProductDetail")); item.setBizType(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].BizType")); item.setSubscriptionType(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].SubscriptionType")); item.setPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setInvoiceDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setRoundDownDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].RoundDownDiscount")); item.setPretaxAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].PretaxAmount")); item.setDeductedByCashCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].DeductedByCashCoupons")); item.setDeductedByCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setDeductedByPrepaidCard(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].DeductedByPrepaidCard")); item.setExpenditureAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].ExpenditureAmount")); item.setPreviouslyAmortizedPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].PreviouslyAmortizedPretaxGrossAmount")); item.setPreviouslyAmortizedInvoiceDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].PreviouslyAmortizedInvoiceDiscount")); item.setPreviouslyAmortizedRoundDownDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].PreviouslyAmortizedRoundDownDiscount")); item.setPreviouslyAmortizedPretaxAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].PreviouslyAmortizedPretaxAmount")); item.setPreviouslyAmortizedDeductedByCashCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByCashCoupons")); item.setPreviouslyAmortizedDeductedByCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByCoupons")); item.setPreviouslyAmortizedDeductedByPrepaidCard(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByPrepaidCard")); item.setPreviouslyAmortizedExpenditureAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].PreviouslyAmortizedExpenditureAmount")); item.setCurrentAmortizationPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].CurrentAmortizationPretaxGrossAmount")); item.setCurrentAmortizationInvoiceDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].CurrentAmortizationInvoiceDiscount")); item.setCurrentAmortizationRoundDownDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].CurrentAmortizationRoundDownDiscount")); item.setCurrentAmortizationPretaxAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].CurrentAmortizationPretaxAmount")); item.setCurrentAmortizationDeductedByCashCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByCashCoupons")); item.setCurrentAmortizationDeductedByCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByCoupons")); item.setCurrentAmortizationDeductedByPrepaidCard(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByPrepaidCard")); item.setCurrentAmortizationExpenditureAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].CurrentAmortizationExpenditureAmount")); item.setRemainingAmortizationPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].RemainingAmortizationPretaxGrossAmount")); item.setRemainingAmortizationInvoiceDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].RemainingAmortizationInvoiceDiscount")); item.setRemainingAmortizationRoundDownDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].RemainingAmortizationRoundDownDiscount")); item.setRemainingAmortizationPretaxAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].RemainingAmortizationPretaxAmount")); item.setRemainingAmortizationDeductedByCashCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByCashCoupons")); item.setRemainingAmortizationDeductedByCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByCoupons")); item.setRemainingAmortizationDeductedByPrepaidCard(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByPrepaidCard")); item.setRemainingAmortizationExpenditureAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodDateResponse.Data.Items["+ i +"].RemainingAmortizationExpenditureAmount")); items.add(item); } data.setItems(items); describeInstanceAmortizedCostByAmortizationPeriodDateResponse.setData(data); return describeInstanceAmortizedCostByAmortizationPeriodDateResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeInstanceAmortizedCostByAmortizationPeriodResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceAmortizedCostByAmortizationPeriodResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeInstanceAmortizedCostByAmortizationPeriodResponseUnmarshaller { public static DescribeInstanceAmortizedCostByAmortizationPeriodResponse unmarshall(DescribeInstanceAmortizedCostByAmortizationPeriodResponse describeInstanceAmortizedCostByAmortizationPeriodResponse, UnmarshallerContext _ctx) { describeInstanceAmortizedCostByAmortizationPeriodResponse.setRequestId(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.RequestId")); describeInstanceAmortizedCostByAmortizationPeriodResponse.setSuccess(_ctx.booleanValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Success")); describeInstanceAmortizedCostByAmortizationPeriodResponse.setCode(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Code")); describeInstanceAmortizedCostByAmortizationPeriodResponse.setMessage(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Message")); Data data = new Data(); data.setNextToken(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.NextToken")); data.setAccountID(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.AccountID")); data.setAccountName(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.AccountName")); data.setMaxResults(_ctx.integerValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.MaxResults")); data.setTotalCount(_ctx.integerValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.TotalCount")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setCostUnit(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CostUnit")); item.setCostUnitCode(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CostUnitCode")); item.setInstanceID(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].InstanceID")); item.setResourceGroup(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ResourceGroup")); item.setTag(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].Tag")); item.setInternetIP(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].InternetIP")); item.setIntranetIP(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].IntranetIP")); item.setRegion(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].Region")); item.setZone(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].Zone")); item.setSplitAccountName(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].SplitAccountName")); item.setSplitProductDetail(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].SplitProductDetail")); item.setSplitItemID(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].SplitItemID")); item.setSplitItemName(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].SplitItemName")); item.setConsumePeriod(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ConsumePeriod")); item.setAmortizationStatus(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].AmortizationStatus")); item.setAmortizationPeriod(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].AmortizationPeriod")); item.setBillAccountID(_ctx.longValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BillAccountID")); item.setBillAccountName(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BillAccountName")); item.setBillOwnerID(_ctx.longValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BillOwnerID")); item.setBillOwnerName(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BillOwnerName")); item.setProductCode(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ProductCode")); item.setProductName(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ProductName")); item.setProductDetailCode(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ProductDetailCode")); item.setProductDetail(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ProductDetail")); item.setBizType(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BizType")); item.setSubscriptionType(_ctx.stringValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].SubscriptionType")); item.setPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setInvoiceDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setRoundDownDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RoundDownDiscount")); item.setPretaxAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PretaxAmount")); item.setDeductedByCashCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].DeductedByCashCoupons")); item.setDeductedByCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setDeductedByPrepaidCard(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].DeductedByPrepaidCard")); item.setExpenditureAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ExpenditureAmount")); item.setPreviouslyAmortizedPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedPretaxGrossAmount")); item.setPreviouslyAmortizedInvoiceDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedInvoiceDiscount")); item.setPreviouslyAmortizedRoundDownDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedRoundDownDiscount")); item.setPreviouslyAmortizedPretaxAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedPretaxAmount")); item.setPreviouslyAmortizedDeductedByCashCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByCashCoupons")); item.setPreviouslyAmortizedDeductedByCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByCoupons")); item.setPreviouslyAmortizedDeductedByPrepaidCard(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByPrepaidCard")); item.setPreviouslyAmortizedExpenditureAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedExpenditureAmount")); item.setCurrentAmortizationPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationPretaxGrossAmount")); item.setCurrentAmortizationInvoiceDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationInvoiceDiscount")); item.setCurrentAmortizationRoundDownDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationRoundDownDiscount")); item.setCurrentAmortizationPretaxAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationPretaxAmount")); item.setCurrentAmortizationDeductedByCashCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByCashCoupons")); item.setCurrentAmortizationDeductedByCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByCoupons")); item.setCurrentAmortizationDeductedByPrepaidCard(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByPrepaidCard")); item.setCurrentAmortizationExpenditureAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationExpenditureAmount")); item.setRemainingAmortizationPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationPretaxGrossAmount")); item.setRemainingAmortizationInvoiceDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationInvoiceDiscount")); item.setRemainingAmortizationRoundDownDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationRoundDownDiscount")); item.setRemainingAmortizationPretaxAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationPretaxAmount")); item.setRemainingAmortizationDeductedByCashCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByCashCoupons")); item.setRemainingAmortizationDeductedByCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByCoupons")); item.setRemainingAmortizationDeductedByPrepaidCard(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByPrepaidCard")); item.setRemainingAmortizationExpenditureAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationExpenditureAmount")); items.add(item); } data.setItems(items); describeInstanceAmortizedCostByAmortizationPeriodResponse.setData(data); return describeInstanceAmortizedCostByAmortizationPeriodResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeInstanceAmortizedCostByConsumePeriodResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceAmortizedCostByConsumePeriodResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceAmortizedCostByConsumePeriodResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeInstanceAmortizedCostByConsumePeriodResponseUnmarshaller { public static DescribeInstanceAmortizedCostByConsumePeriodResponse unmarshall(DescribeInstanceAmortizedCostByConsumePeriodResponse describeInstanceAmortizedCostByConsumePeriodResponse, UnmarshallerContext _ctx) { describeInstanceAmortizedCostByConsumePeriodResponse.setRequestId(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.RequestId")); describeInstanceAmortizedCostByConsumePeriodResponse.setSuccess(_ctx.booleanValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Success")); describeInstanceAmortizedCostByConsumePeriodResponse.setCode(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Code")); describeInstanceAmortizedCostByConsumePeriodResponse.setMessage(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Message")); Data data = new Data(); data.setNextToken(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.NextToken")); data.setAccountID(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.AccountID")); data.setAccountName(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.AccountName")); data.setMaxResults(_ctx.integerValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.MaxResults")); data.setTotalCount(_ctx.integerValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.TotalCount")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setCostUnit(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CostUnit")); item.setCostUnitCode(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CostUnitCode")); item.setInstanceID(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].InstanceID")); item.setResourceGroup(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].ResourceGroup")); item.setTag(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].Tag")); item.setInternetIP(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].InternetIP")); item.setIntranetIP(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].IntranetIP")); item.setRegion(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].Region")); item.setZone(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].Zone")); item.setSplitAccountName(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].SplitAccountName")); item.setSplitProductDetail(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].SplitProductDetail")); item.setSplitItemID(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].SplitItemID")); item.setSplitItemName(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].SplitItemName")); item.setConsumePeriod(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].ConsumePeriod")); item.setAmortizationStatus(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].AmortizationStatus")); item.setAmortizationPeriod(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].AmortizationPeriod")); item.setBillAccountID(_ctx.longValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].BillAccountID")); item.setBillAccountName(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].BillAccountName")); item.setBillOwnerID(_ctx.longValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].BillOwnerID")); item.setBillOwnerName(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].BillOwnerName")); item.setProductCode(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].ProductCode")); item.setProductName(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].ProductName")); item.setProductDetailCode(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].ProductDetailCode")); item.setProductDetail(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].ProductDetail")); item.setBizType(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].BizType")); item.setSubscriptionType(_ctx.stringValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].SubscriptionType")); item.setPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setInvoiceDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setRoundDownDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RoundDownDiscount")); item.setPretaxAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PretaxAmount")); item.setDeductedByCashCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].DeductedByCashCoupons")); item.setDeductedByCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setDeductedByPrepaidCard(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].DeductedByPrepaidCard")); item.setExpenditureAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].ExpenditureAmount")); item.setPreviouslyAmortizedPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedPretaxGrossAmount")); item.setPreviouslyAmortizedInvoiceDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedInvoiceDiscount")); item.setPreviouslyAmortizedRoundDownDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedRoundDownDiscount")); item.setPreviouslyAmortizedPretaxAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedPretaxAmount")); item.setPreviouslyAmortizedDeductedByCashCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByCashCoupons")); item.setPreviouslyAmortizedDeductedByCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByCoupons")); item.setPreviouslyAmortizedDeductedByPrepaidCard(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByPrepaidCard")); item.setPreviouslyAmortizedExpenditureAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedExpenditureAmount")); item.setCurrentAmortizationPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationPretaxGrossAmount")); item.setCurrentAmortizationInvoiceDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationInvoiceDiscount")); item.setCurrentAmortizationRoundDownDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationRoundDownDiscount")); item.setCurrentAmortizationPretaxAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationPretaxAmount")); item.setCurrentAmortizationDeductedByCashCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByCashCoupons")); item.setCurrentAmortizationDeductedByCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByCoupons")); item.setCurrentAmortizationDeductedByPrepaidCard(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByPrepaidCard")); item.setCurrentAmortizationExpenditureAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationExpenditureAmount")); item.setRemainingAmortizationPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationPretaxGrossAmount")); item.setRemainingAmortizationInvoiceDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationInvoiceDiscount")); item.setRemainingAmortizationRoundDownDiscount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationRoundDownDiscount")); item.setRemainingAmortizationPretaxAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationPretaxAmount")); item.setRemainingAmortizationDeductedByCashCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByCashCoupons")); item.setRemainingAmortizationDeductedByCoupons(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByCoupons")); item.setRemainingAmortizationDeductedByPrepaidCard(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByPrepaidCard")); item.setRemainingAmortizationExpenditureAmount(_ctx.doubleValue("DescribeInstanceAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationExpenditureAmount")); items.add(item); } data.setItems(items); describeInstanceAmortizedCostByConsumePeriodResponse.setData(data); return describeInstanceAmortizedCostByConsumePeriodResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeInstanceBillResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceBillResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceBillResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceBillResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeInstanceBillResponseUnmarshaller { public static DescribeInstanceBillResponse unmarshall(DescribeInstanceBillResponse describeInstanceBillResponse, UnmarshallerContext _ctx) { describeInstanceBillResponse.setRequestId(_ctx.stringValue("DescribeInstanceBillResponse.RequestId")); describeInstanceBillResponse.setCode(_ctx.stringValue("DescribeInstanceBillResponse.Code")); describeInstanceBillResponse.setMessage(_ctx.stringValue("DescribeInstanceBillResponse.Message")); describeInstanceBillResponse.setSuccess(_ctx.booleanValue("DescribeInstanceBillResponse.Success")); Data data = new Data(); data.setNextToken(_ctx.stringValue("DescribeInstanceBillResponse.Data.NextToken")); data.setBillingCycle(_ctx.stringValue("DescribeInstanceBillResponse.Data.BillingCycle")); data.setMaxResults(_ctx.integerValue("DescribeInstanceBillResponse.Data.MaxResults")); data.setAccountID(_ctx.stringValue("DescribeInstanceBillResponse.Data.AccountID")); data.setTotalCount(_ctx.integerValue("DescribeInstanceBillResponse.Data.TotalCount")); data.setAccountName(_ctx.stringValue("DescribeInstanceBillResponse.Data.AccountName")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeInstanceBillResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setBillingDate(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].BillingDate")); item.setInstanceConfig(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].InstanceConfig")); item.setInternetIP(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].InternetIP")); item.setItem(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].Item")); item.setTag(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].Tag")); item.setInstanceID(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].InstanceID")); item.setCurrency(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].Currency")); item.setBillAccountName(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].BillAccountName")); item.setDeductedByCashCoupons(_ctx.floatValue("DescribeInstanceBillResponse.Data.Items["+ i +"].DeductedByCashCoupons")); item.setSubscriptionType(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].SubscriptionType")); item.setBizType(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].BizType")); item.setInstanceSpec(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].InstanceSpec")); item.setDeductedByCoupons(_ctx.floatValue("DescribeInstanceBillResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setBillingItem(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].BillingItem")); item.setBillingItemCode(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].BillingItemCode")); item.setRegion(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].Region")); item.setOutstandingAmount(_ctx.floatValue("DescribeInstanceBillResponse.Data.Items["+ i +"].OutstandingAmount")); item.setCostUnit(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].CostUnit")); item.setListPriceUnit(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].ListPriceUnit")); item.setResourceGroup(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].ResourceGroup")); item.setPipCode(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].PipCode")); item.setServicePeriodUnit(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].ServicePeriodUnit")); item.setPretaxAmount(_ctx.floatValue("DescribeInstanceBillResponse.Data.Items["+ i +"].PretaxAmount")); item.setCommodityCode(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].CommodityCode")); item.setProductName(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].ProductName")); item.setAdjustAmount(_ctx.floatValue("DescribeInstanceBillResponse.Data.Items["+ i +"].AdjustAmount")); item.setNickName(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].NickName")); item.setProductDetail(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].ProductDetail")); item.setUsage(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].Usage")); item.setIntranetIP(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].IntranetIP")); item.setOwnerID(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].OwnerID")); item.setDeductedByPrepaidCard(_ctx.floatValue("DescribeInstanceBillResponse.Data.Items["+ i +"].DeductedByPrepaidCard")); item.setUsageUnit(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].UsageUnit")); item.setBillAccountID(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].BillAccountID")); item.setPaymentAmount(_ctx.floatValue("DescribeInstanceBillResponse.Data.Items["+ i +"].PaymentAmount")); item.setInvoiceDiscount(_ctx.floatValue("DescribeInstanceBillResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setDeductedByResourcePackage(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].DeductedByResourcePackage")); item.setProductType(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].ProductType")); item.setServicePeriod(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].ServicePeriod")); item.setZone(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].Zone")); item.setListPrice(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].ListPrice")); item.setPretaxGrossAmount(_ctx.floatValue("DescribeInstanceBillResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setCashAmount(_ctx.floatValue("DescribeInstanceBillResponse.Data.Items["+ i +"].CashAmount")); item.setProductCode(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].ProductCode")); item.setBillingType(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].BillingType")); item.setItemName(_ctx.stringValue("DescribeInstanceBillResponse.Data.Items["+ i +"].ItemName")); items.add(item); } data.setItems(items); describeInstanceBillResponse.setData(data); return describeInstanceBillResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponseUnmarshaller { public static DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse unmarshall(DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse describeInstanceDeductAmortizedCostByAmortizationPeriodResponse, UnmarshallerContext _ctx) { describeInstanceDeductAmortizedCostByAmortizationPeriodResponse.setRequestId(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.RequestId")); describeInstanceDeductAmortizedCostByAmortizationPeriodResponse.setSuccess(_ctx.booleanValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Success")); describeInstanceDeductAmortizedCostByAmortizationPeriodResponse.setCode(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Code")); describeInstanceDeductAmortizedCostByAmortizationPeriodResponse.setMessage(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Message")); Data data = new Data(); data.setNextToken(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.NextToken")); data.setAccountID(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.AccountID")); data.setAccountName(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.AccountName")); data.setMaxResults(_ctx.integerValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.MaxResults")); data.setTotalCount(_ctx.integerValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.TotalCount")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setCostUnit(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CostUnit")); item.setCostUnitCode(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CostUnitCode")); item.setInstanceID(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].InstanceID")); item.setResourceGroup(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ResourceGroup")); item.setTag(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].Tag")); item.setInternetIP(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].InternetIP")); item.setIntranetIP(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].IntranetIP")); item.setRegion(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].Region")); item.setZone(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].Zone")); item.setSplitAccountName(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].SplitAccountName")); item.setSplitProductDetail(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].SplitProductDetail")); item.setSplitItemID(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].SplitItemID")); item.setSplitItemName(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].SplitItemName")); item.setConsumePeriod(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ConsumePeriod")); item.setAmortizationStatus(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].AmortizationStatus")); item.setAmortizationPeriod(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].AmortizationPeriod")); item.setAmortizationPeriodDay(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].AmortizationPeriodDay")); item.setBillAccountID(_ctx.longValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BillAccountID")); item.setBillAccountName(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BillAccountName")); item.setBillOwnerID(_ctx.longValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BillOwnerID")); item.setBillOwnerName(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BillOwnerName")); item.setProductCode(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ProductCode")); item.setProductName(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ProductName")); item.setProductDetailCode(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ProductDetailCode")); item.setProductDetail(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ProductDetail")); item.setBizType(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BizType")); item.setSubscriptionType(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].SubscriptionType")); item.setInstanceConfig(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].InstanceConfig")); item.setReferFrOwnerID(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ReferFrOwnerID")); item.setReferFrInstanceID(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ReferFrInstanceID")); item.setReferFrProductDetailCode(_ctx.stringValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ReferFrProductDetailCode")); item.setPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setInvoiceDiscount(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setRoundDownDiscount(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RoundDownDiscount")); item.setPretaxAmount(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PretaxAmount")); item.setDeductedByCoupons(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setCurrentAmortizationPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationPretaxGrossAmount")); item.setCurrentAmortizationInvoiceDiscount(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationInvoiceDiscount")); item.setCurrentAmortizationRoundDownDiscount(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationRoundDownDiscount")); item.setCurrentAmortizationPretaxAmount(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationPretaxAmount")); item.setCurrentAmortizationDeductedByCoupons(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByCoupons")); item.setUnusedAmortizationPretaxGrossAmount(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].UnusedAmortizationPretaxGrossAmount")); item.setUnusedAmortizationInvoiceDiscount(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].UnusedAmortizationInvoiceDiscount")); item.setUnusedAmortizationRoundDownDiscount(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].UnusedAmortizationRoundDownDiscount")); item.setUnusedAmortizationPretaxAmount(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].UnusedAmortizationPretaxAmount")); item.setUnusedAmortizationDeductedByCoupons(_ctx.doubleValue("DescribeInstanceDeductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].UnusedAmortizationDeductedByCoupons")); items.add(item); } data.setItems(items); describeInstanceDeductAmortizedCostByAmortizationPeriodResponse.setData(data); return describeInstanceDeductAmortizedCostByAmortizationPeriodResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribePricingModuleResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribePricingModuleResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribePricingModuleResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribePricingModuleResponse.Data.Attribute; import com.aliyuncs.bssopenapi.model.v20171214.DescribePricingModuleResponse.Data.Attribute.AttributeValue; import com.aliyuncs.bssopenapi.model.v20171214.DescribePricingModuleResponse.Data.Module; import com.aliyuncs.transform.UnmarshallerContext; public class DescribePricingModuleResponseUnmarshaller { public static DescribePricingModuleResponse unmarshall(DescribePricingModuleResponse describePricingModuleResponse, UnmarshallerContext _ctx) { describePricingModuleResponse.setRequestId(_ctx.stringValue("DescribePricingModuleResponse.RequestId")); describePricingModuleResponse.setCode(_ctx.stringValue("DescribePricingModuleResponse.Code")); describePricingModuleResponse.setMessage(_ctx.stringValue("DescribePricingModuleResponse.Message")); describePricingModuleResponse.setSuccess(_ctx.booleanValue("DescribePricingModuleResponse.Success")); Data data = new Data(); List<Module> moduleList = new ArrayList<Module>(); for (int i = 0; i < _ctx.lengthValue("DescribePricingModuleResponse.Data.ModuleList.Length"); i++) { Module module = new Module(); module.setModuleName(_ctx.stringValue("DescribePricingModuleResponse.Data.ModuleList["+ i +"].ModuleName")); module.setPriceType(_ctx.stringValue("DescribePricingModuleResponse.Data.ModuleList["+ i +"].PriceType")); module.setCurrency(_ctx.stringValue("DescribePricingModuleResponse.Data.ModuleList["+ i +"].Currency")); module.setModuleCode(_ctx.stringValue("DescribePricingModuleResponse.Data.ModuleList["+ i +"].ModuleCode")); List<String> configList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("DescribePricingModuleResponse.Data.ModuleList["+ i +"].ConfigList.Length"); j++) { configList.add(_ctx.stringValue("DescribePricingModuleResponse.Data.ModuleList["+ i +"].ConfigList["+ j +"]")); } module.setConfigList(configList); moduleList.add(module); } data.setModuleList(moduleList); List<Attribute> attributeList = new ArrayList<Attribute>(); for (int i = 0; i < _ctx.lengthValue("DescribePricingModuleResponse.Data.AttributeList.Length"); i++) { Attribute attribute = new Attribute(); attribute.setCode(_ctx.stringValue("DescribePricingModuleResponse.Data.AttributeList["+ i +"].Code")); attribute.setName(_ctx.stringValue("DescribePricingModuleResponse.Data.AttributeList["+ i +"].Name")); attribute.setUnit(_ctx.stringValue("DescribePricingModuleResponse.Data.AttributeList["+ i +"].Unit")); List<AttributeValue> values = new ArrayList<AttributeValue>(); for (int j = 0; j < _ctx.lengthValue("DescribePricingModuleResponse.Data.AttributeList["+ i +"].Values.Length"); j++) { AttributeValue attributeValue = new AttributeValue(); attributeValue.setType(_ctx.stringValue("DescribePricingModuleResponse.Data.AttributeList["+ i +"].Values["+ j +"].Type")); attributeValue.setValue(_ctx.stringValue("DescribePricingModuleResponse.Data.AttributeList["+ i +"].Values["+ j +"].Value")); attributeValue.setRemark(_ctx.stringValue("DescribePricingModuleResponse.Data.AttributeList["+ i +"].Values["+ j +"].Remark")); attributeValue.setName(_ctx.stringValue("DescribePricingModuleResponse.Data.AttributeList["+ i +"].Values["+ j +"].Name")); values.add(attributeValue); } attribute.setValues(values); attributeList.add(attribute); } data.setAttributeList(attributeList); describePricingModuleResponse.setData(data); return describePricingModuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeProductAmortizedCostByAmortizationPeriodResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeProductAmortizedCostByAmortizationPeriodResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeProductAmortizedCostByAmortizationPeriodResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeProductAmortizedCostByAmortizationPeriodResponseUnmarshaller { public static DescribeProductAmortizedCostByAmortizationPeriodResponse unmarshall(DescribeProductAmortizedCostByAmortizationPeriodResponse describeProductAmortizedCostByAmortizationPeriodResponse, UnmarshallerContext _ctx) { describeProductAmortizedCostByAmortizationPeriodResponse.setRequestId(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.RequestId")); describeProductAmortizedCostByAmortizationPeriodResponse.setSuccess(_ctx.booleanValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Success")); describeProductAmortizedCostByAmortizationPeriodResponse.setCode(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Code")); describeProductAmortizedCostByAmortizationPeriodResponse.setMessage(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Message")); Data data = new Data(); data.setNextToken(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.NextToken")); data.setAccountID(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.AccountID")); data.setAccountName(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.AccountName")); data.setMaxResults(_ctx.integerValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.MaxResults")); data.setTotalCount(_ctx.integerValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.TotalCount")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setConsumePeriod(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ConsumePeriod")); item.setAmortizationStatus(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].AmortizationStatus")); item.setAmortizationPeriod(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].AmortizationPeriod")); item.setBillAccountID(_ctx.longValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BillAccountID")); item.setBillAccountName(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BillAccountName")); item.setBillOwnerID(_ctx.longValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BillOwnerID")); item.setBillOwnerName(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BillOwnerName")); item.setProductCode(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ProductCode")); item.setProductName(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ProductName")); item.setProductDetailCode(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ProductDetailCode")); item.setProductDetail(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ProductDetail")); item.setBizType(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].BizType")); item.setSubscriptionType(_ctx.stringValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].SubscriptionType")); item.setPretaxGrossAmount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setInvoiceDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setRoundDownDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RoundDownDiscount")); item.setPretaxAmount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PretaxAmount")); item.setDeductedByCashCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].DeductedByCashCoupons")); item.setDeductedByCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setDeductedByPrepaidCard(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].DeductedByPrepaidCard")); item.setExpenditureAmount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].ExpenditureAmount")); item.setPreviouslyAmortizedPretaxGrossAmount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedPretaxGrossAmount")); item.setPreviouslyAmortizedInvoiceDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedInvoiceDiscount")); item.setPreviouslyAmortizedRoundDownDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedRoundDownDiscount")); item.setPreviouslyAmortizedPretaxAmount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedPretaxAmount")); item.setPreviouslyAmortizedDeductedByCashCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByCashCoupons")); item.setPreviouslyAmortizedDeductedByCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByCoupons")); item.setPreviouslyAmortizedDeductedByPrepaidCard(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByPrepaidCard")); item.setPreviouslyAmortizedExpenditureAmount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedExpenditureAmount")); item.setCurrentAmortizationPretaxGrossAmount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationPretaxGrossAmount")); item.setCurrentAmortizationInvoiceDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationInvoiceDiscount")); item.setCurrentAmortizationRoundDownDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationRoundDownDiscount")); item.setCurrentAmortizationPretaxAmount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationPretaxAmount")); item.setCurrentAmortizationDeductedByCashCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByCashCoupons")); item.setCurrentAmortizationDeductedByCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByCoupons")); item.setCurrentAmortizationDeductedByPrepaidCard(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByPrepaidCard")); item.setCurrentAmortizationExpenditureAmount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].CurrentAmortizationExpenditureAmount")); item.setRemainingAmortizationPretaxGrossAmount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationPretaxGrossAmount")); item.setRemainingAmortizationInvoiceDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationInvoiceDiscount")); item.setRemainingAmortizationRoundDownDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationRoundDownDiscount")); item.setRemainingAmortizationPretaxAmount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationPretaxAmount")); item.setRemainingAmortizationDeductedByCashCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByCashCoupons")); item.setRemainingAmortizationDeductedByCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByCoupons")); item.setRemainingAmortizationDeductedByPrepaidCard(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByPrepaidCard")); item.setRemainingAmortizationExpenditureAmount(_ctx.doubleValue("DescribeProductAmortizedCostByAmortizationPeriodResponse.Data.Items["+ i +"].RemainingAmortizationExpenditureAmount")); items.add(item); } data.setItems(items); describeProductAmortizedCostByAmortizationPeriodResponse.setData(data); return describeProductAmortizedCostByAmortizationPeriodResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeProductAmortizedCostByConsumePeriodResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeProductAmortizedCostByConsumePeriodResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeProductAmortizedCostByConsumePeriodResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeProductAmortizedCostByConsumePeriodResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeProductAmortizedCostByConsumePeriodResponseUnmarshaller { public static DescribeProductAmortizedCostByConsumePeriodResponse unmarshall(DescribeProductAmortizedCostByConsumePeriodResponse describeProductAmortizedCostByConsumePeriodResponse, UnmarshallerContext _ctx) { describeProductAmortizedCostByConsumePeriodResponse.setRequestId(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.RequestId")); describeProductAmortizedCostByConsumePeriodResponse.setSuccess(_ctx.booleanValue("DescribeProductAmortizedCostByConsumePeriodResponse.Success")); describeProductAmortizedCostByConsumePeriodResponse.setCode(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Code")); describeProductAmortizedCostByConsumePeriodResponse.setMessage(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Message")); Data data = new Data(); data.setNextToken(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.NextToken")); data.setAccountID(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.AccountID")); data.setAccountName(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.AccountName")); data.setMaxResults(_ctx.integerValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.MaxResults")); data.setTotalCount(_ctx.integerValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.TotalCount")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setConsumePeriod(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].ConsumePeriod")); item.setAmortizationStatus(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].AmortizationStatus")); item.setAmortizationPeriod(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].AmortizationPeriod")); item.setBillAccountID(_ctx.longValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].BillAccountID")); item.setBillAccountName(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].BillAccountName")); item.setBillOwnerID(_ctx.longValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].BillOwnerID")); item.setBillOwnerName(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].BillOwnerName")); item.setProductCode(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].ProductCode")); item.setProductName(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].ProductName")); item.setProductDetailCode(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].ProductDetailCode")); item.setProductDetail(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].ProductDetail")); item.setBizType(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].BizType")); item.setSubscriptionType(_ctx.stringValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].SubscriptionType")); item.setPretaxGrossAmount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setInvoiceDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setRoundDownDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RoundDownDiscount")); item.setPretaxAmount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PretaxAmount")); item.setDeductedByCashCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].DeductedByCashCoupons")); item.setDeductedByCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setDeductedByPrepaidCard(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].DeductedByPrepaidCard")); item.setExpenditureAmount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].ExpenditureAmount")); item.setPreviouslyAmortizedPretaxGrossAmount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedPretaxGrossAmount")); item.setPreviouslyAmortizedInvoiceDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedInvoiceDiscount")); item.setPreviouslyAmortizedRoundDownDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedRoundDownDiscount")); item.setPreviouslyAmortizedPretaxAmount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedPretaxAmount")); item.setPreviouslyAmortizedDeductedByCashCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByCashCoupons")); item.setPreviouslyAmortizedDeductedByCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByCoupons")); item.setPreviouslyAmortizedDeductedByPrepaidCard(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedDeductedByPrepaidCard")); item.setPreviouslyAmortizedExpenditureAmount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].PreviouslyAmortizedExpenditureAmount")); item.setCurrentAmortizationPretaxGrossAmount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationPretaxGrossAmount")); item.setCurrentAmortizationInvoiceDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationInvoiceDiscount")); item.setCurrentAmortizationRoundDownDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationRoundDownDiscount")); item.setCurrentAmortizationPretaxAmount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationPretaxAmount")); item.setCurrentAmortizationDeductedByCashCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByCashCoupons")); item.setCurrentAmortizationDeductedByCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByCoupons")); item.setCurrentAmortizationDeductedByPrepaidCard(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationDeductedByPrepaidCard")); item.setCurrentAmortizationExpenditureAmount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].CurrentAmortizationExpenditureAmount")); item.setRemainingAmortizationPretaxGrossAmount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationPretaxGrossAmount")); item.setRemainingAmortizationInvoiceDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationInvoiceDiscount")); item.setRemainingAmortizationRoundDownDiscount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationRoundDownDiscount")); item.setRemainingAmortizationPretaxAmount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationPretaxAmount")); item.setRemainingAmortizationDeductedByCashCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByCashCoupons")); item.setRemainingAmortizationDeductedByCoupons(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByCoupons")); item.setRemainingAmortizationDeductedByPrepaidCard(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationDeductedByPrepaidCard")); item.setRemainingAmortizationExpenditureAmount(_ctx.doubleValue("DescribeProductAmortizedCostByConsumePeriodResponse.Data.Items["+ i +"].RemainingAmortizationExpenditureAmount")); items.add(item); } data.setItems(items); describeProductAmortizedCostByConsumePeriodResponse.setData(data); return describeProductAmortizedCostByConsumePeriodResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeResourceCoverageDetailResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceCoverageDetailResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceCoverageDetailResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceCoverageDetailResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeResourceCoverageDetailResponseUnmarshaller { public static DescribeResourceCoverageDetailResponse unmarshall(DescribeResourceCoverageDetailResponse describeResourceCoverageDetailResponse, UnmarshallerContext _ctx) { describeResourceCoverageDetailResponse.setRequestId(_ctx.stringValue("DescribeResourceCoverageDetailResponse.RequestId")); describeResourceCoverageDetailResponse.setCode(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Code")); describeResourceCoverageDetailResponse.setMessage(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Message")); describeResourceCoverageDetailResponse.setSuccess(_ctx.booleanValue("DescribeResourceCoverageDetailResponse.Success")); Data data = new Data(); data.setNextToken(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.NextToken")); data.setTotalCount(_ctx.integerValue("DescribeResourceCoverageDetailResponse.Data.TotalCount")); data.setMaxResults(_ctx.integerValue("DescribeResourceCoverageDetailResponse.Data.MaxResults")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeResourceCoverageDetailResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setCommodityCode(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].CommodityCode")); item.setProductName(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].ProductName")); item.setTotalQuantity(_ctx.floatValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].TotalQuantity")); item.setRegionNo(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].RegionNo")); item.setUserId(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].UserId")); item.setCommodityName(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].CommodityName")); item.setCapacityUnit(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].CapacityUnit")); item.setInstanceId(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].InstanceId")); item.setCurrency(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].Currency")); item.setZoneName(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].ZoneName")); item.setInstanceSpec(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].InstanceSpec")); item.setEndTime(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].EndTime")); item.setStartTime(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].StartTime")); item.setPaymentAmount(_ctx.floatValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].PaymentAmount")); item.setCoveragePercentage(_ctx.floatValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].CoveragePercentage")); item.setRegion(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].Region")); item.setDeductQuantity(_ctx.floatValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].DeductQuantity")); item.setZone(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].Zone")); item.setUserName(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].UserName")); item.setProductCode(_ctx.stringValue("DescribeResourceCoverageDetailResponse.Data.Items["+ i +"].ProductCode")); items.add(item); } data.setItems(items); describeResourceCoverageDetailResponse.setData(data); return describeResourceCoverageDetailResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeResourceCoverageTotalResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceCoverageTotalResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceCoverageTotalResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceCoverageTotalResponse.Data.Item; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceCoverageTotalResponse.Data.TotalCoverage; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeResourceCoverageTotalResponseUnmarshaller { public static DescribeResourceCoverageTotalResponse unmarshall(DescribeResourceCoverageTotalResponse describeResourceCoverageTotalResponse, UnmarshallerContext _ctx) { describeResourceCoverageTotalResponse.setRequestId(_ctx.stringValue("DescribeResourceCoverageTotalResponse.RequestId")); describeResourceCoverageTotalResponse.setCode(_ctx.stringValue("DescribeResourceCoverageTotalResponse.Code")); describeResourceCoverageTotalResponse.setMessage(_ctx.stringValue("DescribeResourceCoverageTotalResponse.Message")); describeResourceCoverageTotalResponse.setSuccess(_ctx.booleanValue("DescribeResourceCoverageTotalResponse.Success")); Data data = new Data(); TotalCoverage totalCoverage = new TotalCoverage(); totalCoverage.setCapacityUnit(_ctx.stringValue("DescribeResourceCoverageTotalResponse.Data.TotalCoverage.CapacityUnit")); totalCoverage.setDeductQuantity(_ctx.floatValue("DescribeResourceCoverageTotalResponse.Data.TotalCoverage.DeductQuantity")); totalCoverage.setCoveragePercentage(_ctx.floatValue("DescribeResourceCoverageTotalResponse.Data.TotalCoverage.CoveragePercentage")); totalCoverage.setTotalQuantity(_ctx.floatValue("DescribeResourceCoverageTotalResponse.Data.TotalCoverage.TotalQuantity")); data.setTotalCoverage(totalCoverage); List<Item> periodCoverage = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeResourceCoverageTotalResponse.Data.PeriodCoverage.Length"); i++) { Item item = new Item(); item.setCoveragePercentage(_ctx.floatValue("DescribeResourceCoverageTotalResponse.Data.PeriodCoverage["+ i +"].CoveragePercentage")); item.setPeriod(_ctx.stringValue("DescribeResourceCoverageTotalResponse.Data.PeriodCoverage["+ i +"].Period")); periodCoverage.add(item); } data.setPeriodCoverage(periodCoverage); describeResourceCoverageTotalResponse.setData(data); return describeResourceCoverageTotalResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeResourcePackageProductResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourcePackageProductResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourcePackageProductResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourcePackageProductResponse.Data.ResourcePackage; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourcePackageProductResponse.Data.ResourcePackage.PackageType; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourcePackageProductResponse.Data.ResourcePackage.PackageType.Property; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourcePackageProductResponse.Data.ResourcePackage.PackageType.Specification; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourcePackageProductResponse.Data.ResourcePackage.PackageType.Specification.AvailableDuration; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeResourcePackageProductResponseUnmarshaller { public static DescribeResourcePackageProductResponse unmarshall(DescribeResourcePackageProductResponse describeResourcePackageProductResponse, UnmarshallerContext _ctx) { describeResourcePackageProductResponse.setRequestId(_ctx.stringValue("DescribeResourcePackageProductResponse.RequestId")); describeResourcePackageProductResponse.setCode(_ctx.stringValue("DescribeResourcePackageProductResponse.Code")); describeResourcePackageProductResponse.setMessage(_ctx.stringValue("DescribeResourcePackageProductResponse.Message")); describeResourcePackageProductResponse.setSuccess(_ctx.booleanValue("DescribeResourcePackageProductResponse.Success")); describeResourcePackageProductResponse.setOrderId(_ctx.longValue("DescribeResourcePackageProductResponse.OrderId")); Data data = new Data(); List<ResourcePackage> resourcePackages = new ArrayList<ResourcePackage>(); for (int i = 0; i < _ctx.lengthValue("DescribeResourcePackageProductResponse.Data.ResourcePackages.Length"); i++) { ResourcePackage resourcePackage = new ResourcePackage(); resourcePackage.setProductType(_ctx.stringValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].ProductType")); resourcePackage.setName(_ctx.stringValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].Name")); resourcePackage.setProductCode(_ctx.stringValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].ProductCode")); List<PackageType> packageTypes = new ArrayList<PackageType>(); for (int j = 0; j < _ctx.lengthValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].PackageTypes.Length"); j++) { PackageType packageType = new PackageType(); packageType.setCode(_ctx.stringValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].PackageTypes["+ j +"].Code")); packageType.setName(_ctx.stringValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].PackageTypes["+ j +"].Name")); List<Property> properties = new ArrayList<Property>(); for (int k = 0; k < _ctx.lengthValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].PackageTypes["+ j +"].Properties.Length"); k++) { Property property = new Property(); property.setName(_ctx.stringValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].PackageTypes["+ j +"].Properties["+ k +"].Name")); property.setValue(_ctx.stringValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].PackageTypes["+ j +"].Properties["+ k +"].Value")); properties.add(property); } packageType.setProperties(properties); List<Specification> specifications = new ArrayList<Specification>(); for (int k = 0; k < _ctx.lengthValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].PackageTypes["+ j +"].Specifications.Length"); k++) { Specification specification = new Specification(); specification.setName(_ctx.stringValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].PackageTypes["+ j +"].Specifications["+ k +"].Name")); specification.setValue(_ctx.stringValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].PackageTypes["+ j +"].Specifications["+ k +"].Value")); List<AvailableDuration> availableDurations = new ArrayList<AvailableDuration>(); for (int l = 0; l < _ctx.lengthValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].PackageTypes["+ j +"].Specifications["+ k +"].AvailableDurations.Length"); l++) { AvailableDuration availableDuration = new AvailableDuration(); availableDuration.setValue(_ctx.integerValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].PackageTypes["+ j +"].Specifications["+ k +"].AvailableDurations["+ l +"].Value")); availableDuration.setName(_ctx.stringValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].PackageTypes["+ j +"].Specifications["+ k +"].AvailableDurations["+ l +"].Name")); availableDuration.setUnit(_ctx.stringValue("DescribeResourcePackageProductResponse.Data.ResourcePackages["+ i +"].PackageTypes["+ j +"].Specifications["+ k +"].AvailableDurations["+ l +"].Unit")); availableDurations.add(availableDuration); } specification.setAvailableDurations(availableDurations); specifications.add(specification); } packageType.setSpecifications(specifications); packageTypes.add(packageType); } resourcePackage.setPackageTypes(packageTypes); resourcePackages.add(resourcePackage); } data.setResourcePackages(resourcePackages); describeResourcePackageProductResponse.setData(data); return describeResourcePackageProductResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeResourceUsageDetailResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceUsageDetailResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceUsageDetailResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceUsageDetailResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeResourceUsageDetailResponseUnmarshaller { public static DescribeResourceUsageDetailResponse unmarshall(DescribeResourceUsageDetailResponse describeResourceUsageDetailResponse, UnmarshallerContext _ctx) { describeResourceUsageDetailResponse.setRequestId(_ctx.stringValue("DescribeResourceUsageDetailResponse.RequestId")); describeResourceUsageDetailResponse.setCode(_ctx.stringValue("DescribeResourceUsageDetailResponse.Code")); describeResourceUsageDetailResponse.setMessage(_ctx.stringValue("DescribeResourceUsageDetailResponse.Message")); describeResourceUsageDetailResponse.setSuccess(_ctx.booleanValue("DescribeResourceUsageDetailResponse.Success")); Data data = new Data(); data.setNextToken(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.NextToken")); data.setTotalCount(_ctx.integerValue("DescribeResourceUsageDetailResponse.Data.TotalCount")); data.setMaxResults(_ctx.integerValue("DescribeResourceUsageDetailResponse.Data.MaxResults")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeResourceUsageDetailResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setStatus(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].Status")); item.setUsagePercentage(_ctx.floatValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].UsagePercentage")); item.setResourceInstanceId(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].ResourceInstanceId")); item.setTotalQuantity(_ctx.floatValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].TotalQuantity")); item.setReservationCost(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].ReservationCost")); item.setRegionNo(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].RegionNo")); item.setUserId(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].UserId")); item.setStatusName(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].StatusName")); item.setCapacityUnit(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].CapacityUnit")); item.setPotentialSavedCost(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].PotentialSavedCost")); item.setCurrency(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].Currency")); item.setZoneName(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].ZoneName")); item.setInstanceSpec(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].InstanceSpec")); item.setEndTime(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].EndTime")); item.setPostpaidCost(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].PostpaidCost")); item.setImageType(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].ImageType")); item.setStartTime(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].StartTime")); item.setRegion(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].Region")); item.setDeductQuantity(_ctx.floatValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].DeductQuantity")); item.setSavedCost(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].SavedCost")); item.setZone(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].Zone")); item.setUserName(_ctx.stringValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].UserName")); item.setQuantity(_ctx.longValue("DescribeResourceUsageDetailResponse.Data.Items["+ i +"].Quantity")); items.add(item); } data.setItems(items); describeResourceUsageDetailResponse.setData(data); return describeResourceUsageDetailResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeResourceUsageTotalResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceUsageTotalResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceUsageTotalResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceUsageTotalResponse.Data.Item; import com.aliyuncs.bssopenapi.model.v20171214.DescribeResourceUsageTotalResponse.Data.TotalUsage; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeResourceUsageTotalResponseUnmarshaller { public static DescribeResourceUsageTotalResponse unmarshall(DescribeResourceUsageTotalResponse describeResourceUsageTotalResponse, UnmarshallerContext _ctx) { describeResourceUsageTotalResponse.setRequestId(_ctx.stringValue("DescribeResourceUsageTotalResponse.RequestId")); describeResourceUsageTotalResponse.setCode(_ctx.stringValue("DescribeResourceUsageTotalResponse.Code")); describeResourceUsageTotalResponse.setMessage(_ctx.stringValue("DescribeResourceUsageTotalResponse.Message")); describeResourceUsageTotalResponse.setSuccess(_ctx.booleanValue("DescribeResourceUsageTotalResponse.Success")); Data data = new Data(); TotalUsage totalUsage = new TotalUsage(); totalUsage.setPostpaidCost(_ctx.floatValue("DescribeResourceUsageTotalResponse.Data.TotalUsage.PostpaidCost")); totalUsage.setSavedCost(_ctx.floatValue("DescribeResourceUsageTotalResponse.Data.TotalUsage.SavedCost")); totalUsage.setUsagePercentage(_ctx.floatValue("DescribeResourceUsageTotalResponse.Data.TotalUsage.UsagePercentage")); totalUsage.setPotentialSavedCost(_ctx.floatValue("DescribeResourceUsageTotalResponse.Data.TotalUsage.PotentialSavedCost")); totalUsage.setReservationCost(_ctx.floatValue("DescribeResourceUsageTotalResponse.Data.TotalUsage.ReservationCost")); data.setTotalUsage(totalUsage); List<Item> periodCoverage = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeResourceUsageTotalResponse.Data.PeriodCoverage.Length"); i++) { Item item = new Item(); item.setUsagePercentage(_ctx.floatValue("DescribeResourceUsageTotalResponse.Data.PeriodCoverage["+ i +"].UsagePercentage")); item.setPeriod(_ctx.stringValue("DescribeResourceUsageTotalResponse.Data.PeriodCoverage["+ i +"].Period")); periodCoverage.add(item); } data.setPeriodCoverage(periodCoverage); describeResourceUsageTotalResponse.setData(data); return describeResourceUsageTotalResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeSavingsPlansCoverageDetailResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansCoverageDetailResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansCoverageDetailResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansCoverageDetailResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeSavingsPlansCoverageDetailResponseUnmarshaller { public static DescribeSavingsPlansCoverageDetailResponse unmarshall(DescribeSavingsPlansCoverageDetailResponse describeSavingsPlansCoverageDetailResponse, UnmarshallerContext _ctx) { describeSavingsPlansCoverageDetailResponse.setRequestId(_ctx.stringValue("DescribeSavingsPlansCoverageDetailResponse.RequestId")); describeSavingsPlansCoverageDetailResponse.setCode(_ctx.stringValue("DescribeSavingsPlansCoverageDetailResponse.Code")); describeSavingsPlansCoverageDetailResponse.setMessage(_ctx.stringValue("DescribeSavingsPlansCoverageDetailResponse.Message")); describeSavingsPlansCoverageDetailResponse.setSuccess(_ctx.booleanValue("DescribeSavingsPlansCoverageDetailResponse.Success")); Data data = new Data(); data.setTotalCount(_ctx.integerValue("DescribeSavingsPlansCoverageDetailResponse.Data.TotalCount")); data.setNextToken(_ctx.stringValue("DescribeSavingsPlansCoverageDetailResponse.Data.NextToken")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setUserId(_ctx.longValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items["+ i +"].UserId")); item.setOwnerId(_ctx.longValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items["+ i +"].OwnerId")); item.setInstanceId(_ctx.stringValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items["+ i +"].InstanceId")); item.setCurrency(_ctx.stringValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items["+ i +"].Currency")); item.setInstanceSpec(_ctx.stringValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items["+ i +"].InstanceSpec")); item.setPostpaidCost(_ctx.floatValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items["+ i +"].PostpaidCost")); item.setCoveragePercentage(_ctx.floatValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items["+ i +"].CoveragePercentage")); item.setRegion(_ctx.stringValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items["+ i +"].Region")); item.setDeductAmount(_ctx.floatValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items["+ i +"].DeductAmount")); item.setStartPeriod(_ctx.stringValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items["+ i +"].StartPeriod")); item.setTotalAmount(_ctx.floatValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items["+ i +"].TotalAmount")); item.setUserName(_ctx.stringValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items["+ i +"].UserName")); item.setEndPeriod(_ctx.stringValue("DescribeSavingsPlansCoverageDetailResponse.Data.Items["+ i +"].EndPeriod")); items.add(item); } data.setItems(items); describeSavingsPlansCoverageDetailResponse.setData(data); return describeSavingsPlansCoverageDetailResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeSavingsPlansCoverageTotalResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansCoverageTotalResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansCoverageTotalResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansCoverageTotalResponse.Data.Item; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansCoverageTotalResponse.Data.TotalCoverage; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeSavingsPlansCoverageTotalResponseUnmarshaller { public static DescribeSavingsPlansCoverageTotalResponse unmarshall(DescribeSavingsPlansCoverageTotalResponse describeSavingsPlansCoverageTotalResponse, UnmarshallerContext _ctx) { describeSavingsPlansCoverageTotalResponse.setRequestId(_ctx.stringValue("DescribeSavingsPlansCoverageTotalResponse.RequestId")); describeSavingsPlansCoverageTotalResponse.setCode(_ctx.stringValue("DescribeSavingsPlansCoverageTotalResponse.Code")); describeSavingsPlansCoverageTotalResponse.setMessage(_ctx.stringValue("DescribeSavingsPlansCoverageTotalResponse.Message")); describeSavingsPlansCoverageTotalResponse.setSuccess(_ctx.booleanValue("DescribeSavingsPlansCoverageTotalResponse.Success")); Data data = new Data(); TotalCoverage totalCoverage = new TotalCoverage(); totalCoverage.setCoveragePercentage(_ctx.floatValue("DescribeSavingsPlansCoverageTotalResponse.Data.TotalCoverage.CoveragePercentage")); totalCoverage.setDeductAmount(_ctx.floatValue("DescribeSavingsPlansCoverageTotalResponse.Data.TotalCoverage.DeductAmount")); data.setTotalCoverage(totalCoverage); List<Item> periodCoverage = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeSavingsPlansCoverageTotalResponse.Data.PeriodCoverage.Length"); i++) { Item item = new Item(); item.setPercentage(_ctx.floatValue("DescribeSavingsPlansCoverageTotalResponse.Data.PeriodCoverage["+ i +"].Percentage")); item.setPeriod(_ctx.stringValue("DescribeSavingsPlansCoverageTotalResponse.Data.PeriodCoverage["+ i +"].Period")); periodCoverage.add(item); } data.setPeriodCoverage(periodCoverage); describeSavingsPlansCoverageTotalResponse.setData(data); return describeSavingsPlansCoverageTotalResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeSavingsPlansUsageDetailResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansUsageDetailResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansUsageDetailResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansUsageDetailResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeSavingsPlansUsageDetailResponseUnmarshaller { public static DescribeSavingsPlansUsageDetailResponse unmarshall(DescribeSavingsPlansUsageDetailResponse describeSavingsPlansUsageDetailResponse, UnmarshallerContext _ctx) { describeSavingsPlansUsageDetailResponse.setRequestId(_ctx.stringValue("DescribeSavingsPlansUsageDetailResponse.RequestId")); describeSavingsPlansUsageDetailResponse.setCode(_ctx.stringValue("DescribeSavingsPlansUsageDetailResponse.Code")); describeSavingsPlansUsageDetailResponse.setMessage(_ctx.stringValue("DescribeSavingsPlansUsageDetailResponse.Message")); describeSavingsPlansUsageDetailResponse.setSuccess(_ctx.booleanValue("DescribeSavingsPlansUsageDetailResponse.Success")); Data data = new Data(); data.setTotalCount(_ctx.integerValue("DescribeSavingsPlansUsageDetailResponse.Data.TotalCount")); data.setNextToken(_ctx.stringValue("DescribeSavingsPlansUsageDetailResponse.Data.NextToken")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeSavingsPlansUsageDetailResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setStatus(_ctx.stringValue("DescribeSavingsPlansUsageDetailResponse.Data.Items["+ i +"].Status")); item.setType(_ctx.stringValue("DescribeSavingsPlansUsageDetailResponse.Data.Items["+ i +"].Type")); item.setUsagePercentage(_ctx.floatValue("DescribeSavingsPlansUsageDetailResponse.Data.Items["+ i +"].UsagePercentage")); item.setUserId(_ctx.longValue("DescribeSavingsPlansUsageDetailResponse.Data.Items["+ i +"].UserId")); item.setInstanceId(_ctx.stringValue("DescribeSavingsPlansUsageDetailResponse.Data.Items["+ i +"].InstanceId")); item.setCurrency(_ctx.stringValue("DescribeSavingsPlansUsageDetailResponse.Data.Items["+ i +"].Currency")); item.setPostpaidCost(_ctx.floatValue("DescribeSavingsPlansUsageDetailResponse.Data.Items["+ i +"].PostpaidCost")); item.setDeductValue(_ctx.floatValue("DescribeSavingsPlansUsageDetailResponse.Data.Items["+ i +"].DeductValue")); item.setStartPeriod(_ctx.stringValue("DescribeSavingsPlansUsageDetailResponse.Data.Items["+ i +"].StartPeriod")); item.setSavedCost(_ctx.floatValue("DescribeSavingsPlansUsageDetailResponse.Data.Items["+ i +"].SavedCost")); item.setPoolValue(_ctx.floatValue("DescribeSavingsPlansUsageDetailResponse.Data.Items["+ i +"].PoolValue")); item.setUserName(_ctx.stringValue("DescribeSavingsPlansUsageDetailResponse.Data.Items["+ i +"].UserName")); item.setEndPeriod(_ctx.stringValue("DescribeSavingsPlansUsageDetailResponse.Data.Items["+ i +"].EndPeriod")); items.add(item); } data.setItems(items); describeSavingsPlansUsageDetailResponse.setData(data); return describeSavingsPlansUsageDetailResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeSavingsPlansUsageTotalResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansUsageTotalResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansUsageTotalResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansUsageTotalResponse.Data.Item; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSavingsPlansUsageTotalResponse.Data.TotalUsage; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeSavingsPlansUsageTotalResponseUnmarshaller { public static DescribeSavingsPlansUsageTotalResponse unmarshall(DescribeSavingsPlansUsageTotalResponse describeSavingsPlansUsageTotalResponse, UnmarshallerContext _ctx) { describeSavingsPlansUsageTotalResponse.setRequestId(_ctx.stringValue("DescribeSavingsPlansUsageTotalResponse.RequestId")); describeSavingsPlansUsageTotalResponse.setCode(_ctx.stringValue("DescribeSavingsPlansUsageTotalResponse.Code")); describeSavingsPlansUsageTotalResponse.setMessage(_ctx.stringValue("DescribeSavingsPlansUsageTotalResponse.Message")); describeSavingsPlansUsageTotalResponse.setSuccess(_ctx.booleanValue("DescribeSavingsPlansUsageTotalResponse.Success")); Data data = new Data(); TotalUsage totalUsage = new TotalUsage(); totalUsage.setPostpaidCost(_ctx.floatValue("DescribeSavingsPlansUsageTotalResponse.Data.TotalUsage.PostpaidCost")); totalUsage.setSavedCost(_ctx.floatValue("DescribeSavingsPlansUsageTotalResponse.Data.TotalUsage.SavedCost")); totalUsage.setUsagePercentage(_ctx.floatValue("DescribeSavingsPlansUsageTotalResponse.Data.TotalUsage.UsagePercentage")); totalUsage.setPoolValue(_ctx.floatValue("DescribeSavingsPlansUsageTotalResponse.Data.TotalUsage.PoolValue")); data.setTotalUsage(totalUsage); List<Item> periodCoverage = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeSavingsPlansUsageTotalResponse.Data.PeriodCoverage.Length"); i++) { Item item = new Item(); item.setPercentage(_ctx.floatValue("DescribeSavingsPlansUsageTotalResponse.Data.PeriodCoverage["+ i +"].Percentage")); item.setPeriod(_ctx.stringValue("DescribeSavingsPlansUsageTotalResponse.Data.PeriodCoverage["+ i +"].Period")); periodCoverage.add(item); } data.setPeriodCoverage(periodCoverage); describeSavingsPlansUsageTotalResponse.setData(data); return describeSavingsPlansUsageTotalResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/DescribeSplitItemBillResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSplitItemBillResponse; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSplitItemBillResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.DescribeSplitItemBillResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeSplitItemBillResponseUnmarshaller { public static DescribeSplitItemBillResponse unmarshall(DescribeSplitItemBillResponse describeSplitItemBillResponse, UnmarshallerContext _ctx) { describeSplitItemBillResponse.setRequestId(_ctx.stringValue("DescribeSplitItemBillResponse.RequestId")); describeSplitItemBillResponse.setCode(_ctx.stringValue("DescribeSplitItemBillResponse.Code")); describeSplitItemBillResponse.setMessage(_ctx.stringValue("DescribeSplitItemBillResponse.Message")); describeSplitItemBillResponse.setSuccess(_ctx.booleanValue("DescribeSplitItemBillResponse.Success")); Data data = new Data(); data.setNextToken(_ctx.stringValue("DescribeSplitItemBillResponse.Data.NextToken")); data.setBillingCycle(_ctx.stringValue("DescribeSplitItemBillResponse.Data.BillingCycle")); data.setMaxResults(_ctx.integerValue("DescribeSplitItemBillResponse.Data.MaxResults")); data.setAccountID(_ctx.stringValue("DescribeSplitItemBillResponse.Data.AccountID")); data.setTotalCount(_ctx.integerValue("DescribeSplitItemBillResponse.Data.TotalCount")); data.setAccountName(_ctx.stringValue("DescribeSplitItemBillResponse.Data.AccountName")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("DescribeSplitItemBillResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setSplitAccountID(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].SplitAccountID")); item.setBillAccountName(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].BillAccountName")); item.setSubscriptionType(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].SubscriptionType")); item.setInstanceSpec(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].InstanceSpec")); item.setDeductedByCoupons(_ctx.floatValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setRegion(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].Region")); item.setOutstandingAmount(_ctx.floatValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].OutstandingAmount")); item.setPipCode(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].PipCode")); item.setCommodityCode(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].CommodityCode")); item.setNickName(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].NickName")); item.setProductDetail(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].ProductDetail")); item.setUsage(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].Usage")); item.setIntranetIP(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].IntranetIP")); item.setUsageUnit(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].UsageUnit")); item.setSplitCommodityCode(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].SplitCommodityCode")); item.setBillAccountID(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].BillAccountID")); item.setProductType(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].ProductType")); item.setDeductedByResourcePackage(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].DeductedByResourcePackage")); item.setPaymentAmount(_ctx.floatValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].PaymentAmount")); item.setSplitBillingCycle(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].SplitBillingCycle")); item.setServicePeriod(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].ServicePeriod")); item.setSplitItemName(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].SplitItemName")); item.setListPrice(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].ListPrice")); item.setZone(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].Zone")); item.setPretaxGrossAmount(_ctx.floatValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setCashAmount(_ctx.floatValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].CashAmount")); item.setInstanceConfig(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].InstanceConfig")); item.setBillingDate(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].BillingDate")); item.setInternetIP(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].InternetIP")); item.setItem(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].Item")); item.setSplitItemID(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].SplitItemID")); item.setInstanceID(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].InstanceID")); item.setTag(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].Tag")); item.setCurrency(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].Currency")); item.setDeductedByCashCoupons(_ctx.floatValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].DeductedByCashCoupons")); item.setBizType(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].BizType")); item.setBillingItem(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].BillingItem")); item.setBillingItemCode(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].BillingItemCode")); item.setCostUnit(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].CostUnit")); item.setListPriceUnit(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].ListPriceUnit")); item.setResourceGroup(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].ResourceGroup")); item.setPretaxAmount(_ctx.floatValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].PretaxAmount")); item.setServicePeriodUnit(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].ServicePeriodUnit")); item.setSplitBillingDate(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].SplitBillingDate")); item.setProductName(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].ProductName")); item.setSplitProductDetail(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].SplitProductDetail")); item.setAdjustAmount(_ctx.floatValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].AdjustAmount")); item.setOwnerID(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].OwnerID")); item.setDeductedByPrepaidCard(_ctx.floatValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].DeductedByPrepaidCard")); item.setInvoiceDiscount(_ctx.floatValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setSplitAccountName(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].SplitAccountName")); item.setBillingType(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].BillingType")); item.setProductCode(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].ProductCode")); item.setItemName(_ctx.stringValue("DescribeSplitItemBillResponse.Data.Items["+ i +"].ItemName")); items.add(item); } data.setItems(items); describeSplitItemBillResponse.setData(data); return describeSplitItemBillResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/GetAccountRelationResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.GetAccountRelationResponse; import com.aliyuncs.bssopenapi.model.v20171214.GetAccountRelationResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class GetAccountRelationResponseUnmarshaller { public static GetAccountRelationResponse unmarshall(GetAccountRelationResponse getAccountRelationResponse, UnmarshallerContext _ctx) { getAccountRelationResponse.setRequestId(_ctx.stringValue("GetAccountRelationResponse.RequestId")); getAccountRelationResponse.setMessage(_ctx.stringValue("GetAccountRelationResponse.Message")); getAccountRelationResponse.setCode(_ctx.stringValue("GetAccountRelationResponse.Code")); getAccountRelationResponse.setSuccess(_ctx.booleanValue("GetAccountRelationResponse.Success")); Data data = new Data(); data.setId(_ctx.longValue("GetAccountRelationResponse.Data.Id")); data.setParentUserId(_ctx.longValue("GetAccountRelationResponse.Data.ParentUserId")); data.setChildUserId(_ctx.longValue("GetAccountRelationResponse.Data.ChildUserId")); data.setStartTime(_ctx.longValue("GetAccountRelationResponse.Data.StartTime")); data.setEndTime(_ctx.longValue("GetAccountRelationResponse.Data.EndTime")); data.setType(_ctx.stringValue("GetAccountRelationResponse.Data.Type")); data.setStatus(_ctx.stringValue("GetAccountRelationResponse.Data.Status")); data.setGmtModified(_ctx.longValue("GetAccountRelationResponse.Data.GmtModified")); getAccountRelationResponse.setData(data); return getAccountRelationResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/GetCustomerAccountInfoResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.GetCustomerAccountInfoResponse; import com.aliyuncs.bssopenapi.model.v20171214.GetCustomerAccountInfoResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class GetCustomerAccountInfoResponseUnmarshaller { public static GetCustomerAccountInfoResponse unmarshall(GetCustomerAccountInfoResponse getCustomerAccountInfoResponse, UnmarshallerContext _ctx) { getCustomerAccountInfoResponse.setRequestId(_ctx.stringValue("GetCustomerAccountInfoResponse.RequestId")); getCustomerAccountInfoResponse.setCode(_ctx.stringValue("GetCustomerAccountInfoResponse.Code")); getCustomerAccountInfoResponse.setMessage(_ctx.stringValue("GetCustomerAccountInfoResponse.Message")); getCustomerAccountInfoResponse.setSuccess(_ctx.booleanValue("GetCustomerAccountInfoResponse.Success")); Data data = new Data(); data.setMpk(_ctx.longValue("GetCustomerAccountInfoResponse.Data.Mpk")); data.setLoginEmail(_ctx.stringValue("GetCustomerAccountInfoResponse.Data.LoginEmail")); data.setHostingStatus(_ctx.stringValue("GetCustomerAccountInfoResponse.Data.HostingStatus")); data.setAccountType(_ctx.stringValue("GetCustomerAccountInfoResponse.Data.AccountType")); data.setCreditLimitStatus(_ctx.stringValue("GetCustomerAccountInfoResponse.Data.CreditLimitStatus")); data.setIsCertified(_ctx.booleanValue("GetCustomerAccountInfoResponse.Data.IsCertified")); getCustomerAccountInfoResponse.setData(data); return getCustomerAccountInfoResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/GetCustomerListResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.GetCustomerListResponse; import com.aliyuncs.bssopenapi.model.v20171214.GetCustomerListResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class GetCustomerListResponseUnmarshaller { public static GetCustomerListResponse unmarshall(GetCustomerListResponse getCustomerListResponse, UnmarshallerContext _ctx) { getCustomerListResponse.setRequestId(_ctx.stringValue("GetCustomerListResponse.RequestId")); getCustomerListResponse.setCode(_ctx.stringValue("GetCustomerListResponse.Code")); getCustomerListResponse.setMessage(_ctx.stringValue("GetCustomerListResponse.Message")); getCustomerListResponse.setSuccess(_ctx.booleanValue("GetCustomerListResponse.Success")); Data data = new Data(); List<String> uidList = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("GetCustomerListResponse.Data.UidList.Length"); i++) { uidList.add(_ctx.stringValue("GetCustomerListResponse.Data.UidList["+ i +"]")); } data.setUidList(uidList); getCustomerListResponse.setData(data); return getCustomerListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/GetOrderDetailResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.GetOrderDetailResponse; import com.aliyuncs.bssopenapi.model.v20171214.GetOrderDetailResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.GetOrderDetailResponse.Data.Order; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class GetOrderDetailResponseUnmarshaller { public static GetOrderDetailResponse unmarshall(GetOrderDetailResponse getOrderDetailResponse, UnmarshallerContext _ctx) { getOrderDetailResponse.setRequestId(_ctx.stringValue("GetOrderDetailResponse.RequestId")); getOrderDetailResponse.setCode(_ctx.stringValue("GetOrderDetailResponse.Code")); getOrderDetailResponse.setMessage(_ctx.stringValue("GetOrderDetailResponse.Message")); getOrderDetailResponse.setSuccess(_ctx.booleanValue("GetOrderDetailResponse.Success")); Data data = new Data(); data.setHostName(_ctx.stringValue("GetOrderDetailResponse.Data.HostName")); data.setPageNum(_ctx.integerValue("GetOrderDetailResponse.Data.PageNum")); data.setPageSize(_ctx.integerValue("GetOrderDetailResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("GetOrderDetailResponse.Data.TotalCount")); List<Order> orderList = new ArrayList<Order>(); for (int i = 0; i < _ctx.lengthValue("GetOrderDetailResponse.Data.OrderList.Length"); i++) { Order order = new Order(); order.setOrderSubType(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].OrderSubType")); order.setCreateTime(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].CreateTime")); order.setCurrency(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].Currency")); order.setConfig(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].Config")); order.setSubscriptionType(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].SubscriptionType")); order.setUsageStartTime(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].UsageStartTime")); order.setUsageEndTime(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].UsageEndTime")); order.setSubOrderId(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].SubOrderId")); order.setRegion(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].Region")); order.setAfterTaxAmount(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].AfterTaxAmount")); order.setPaymentTime(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].PaymentTime")); order.setOperator(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].Operator")); order.setOrderType(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].OrderType")); order.setPaymentStatus(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].PaymentStatus")); order.setQuantity(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].Quantity")); order.setPretaxAmountLocal(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].PretaxAmountLocal")); order.setTax(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].Tax")); order.setOriginalConfig(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].OriginalConfig")); order.setPretaxAmount(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].PretaxAmount")); order.setCommodityCode(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].CommodityCode")); order.setRelatedOrderId(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].RelatedOrderId")); order.setPaymentCurrency(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].PaymentCurrency")); order.setProductType(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].ProductType")); order.setInstanceIDs(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].InstanceIDs")); order.setPretaxGrossAmount(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].PretaxGrossAmount")); order.setOrderId(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].OrderId")); order.setProductCode(_ctx.stringValue("GetOrderDetailResponse.Data.OrderList["+ i +"].ProductCode")); order.setExtendInfos(_ctx.mapValue("GetOrderDetailResponse.Data.OrderList["+ i +"].ExtendInfos")); orderList.add(order); } data.setOrderList(orderList); getOrderDetailResponse.setData(data); return getOrderDetailResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/GetPayAsYouGoPriceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.GetPayAsYouGoPriceResponse; import com.aliyuncs.bssopenapi.model.v20171214.GetPayAsYouGoPriceResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.GetPayAsYouGoPriceResponse.Data.ModuleDetail; import com.aliyuncs.bssopenapi.model.v20171214.GetPayAsYouGoPriceResponse.Data.PromotionDetail; import com.aliyuncs.transform.UnmarshallerContext; public class GetPayAsYouGoPriceResponseUnmarshaller { public static GetPayAsYouGoPriceResponse unmarshall(GetPayAsYouGoPriceResponse getPayAsYouGoPriceResponse, UnmarshallerContext _ctx) { getPayAsYouGoPriceResponse.setRequestId(_ctx.stringValue("GetPayAsYouGoPriceResponse.RequestId")); getPayAsYouGoPriceResponse.setCode(_ctx.stringValue("GetPayAsYouGoPriceResponse.Code")); getPayAsYouGoPriceResponse.setMessage(_ctx.stringValue("GetPayAsYouGoPriceResponse.Message")); getPayAsYouGoPriceResponse.setSuccess(_ctx.booleanValue("GetPayAsYouGoPriceResponse.Success")); Data data = new Data(); data.setCurrency(_ctx.stringValue("GetPayAsYouGoPriceResponse.Data.Currency")); List<ModuleDetail> moduleDetails = new ArrayList<ModuleDetail>(); for (int i = 0; i < _ctx.lengthValue("GetPayAsYouGoPriceResponse.Data.ModuleDetails.Length"); i++) { ModuleDetail moduleDetail = new ModuleDetail(); moduleDetail.setCostAfterDiscount(_ctx.floatValue("GetPayAsYouGoPriceResponse.Data.ModuleDetails["+ i +"].CostAfterDiscount")); moduleDetail.setInvoiceDiscount(_ctx.floatValue("GetPayAsYouGoPriceResponse.Data.ModuleDetails["+ i +"].InvoiceDiscount")); moduleDetail.setUnitPrice(_ctx.floatValue("GetPayAsYouGoPriceResponse.Data.ModuleDetails["+ i +"].UnitPrice")); moduleDetail.setOriginalCost(_ctx.floatValue("GetPayAsYouGoPriceResponse.Data.ModuleDetails["+ i +"].OriginalCost")); moduleDetail.setModuleCode(_ctx.stringValue("GetPayAsYouGoPriceResponse.Data.ModuleDetails["+ i +"].ModuleCode")); moduleDetails.add(moduleDetail); } data.setModuleDetails(moduleDetails); List<PromotionDetail> promotionDetails = new ArrayList<PromotionDetail>(); for (int i = 0; i < _ctx.lengthValue("GetPayAsYouGoPriceResponse.Data.PromotionDetails.Length"); i++) { PromotionDetail promotionDetail = new PromotionDetail(); promotionDetail.setPromotionDesc(_ctx.stringValue("GetPayAsYouGoPriceResponse.Data.PromotionDetails["+ i +"].PromotionDesc")); promotionDetail.setPromotionId(_ctx.longValue("GetPayAsYouGoPriceResponse.Data.PromotionDetails["+ i +"].PromotionId")); promotionDetail.setPromotionName(_ctx.stringValue("GetPayAsYouGoPriceResponse.Data.PromotionDetails["+ i +"].PromotionName")); promotionDetails.add(promotionDetail); } data.setPromotionDetails(promotionDetails); getPayAsYouGoPriceResponse.setData(data); return getPayAsYouGoPriceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/GetResourcePackagePriceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.GetResourcePackagePriceResponse; import com.aliyuncs.bssopenapi.model.v20171214.GetResourcePackagePriceResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.GetResourcePackagePriceResponse.Data.Promotion; import com.aliyuncs.transform.UnmarshallerContext; public class GetResourcePackagePriceResponseUnmarshaller { public static GetResourcePackagePriceResponse unmarshall(GetResourcePackagePriceResponse getResourcePackagePriceResponse, UnmarshallerContext _ctx) { getResourcePackagePriceResponse.setRequestId(_ctx.stringValue("GetResourcePackagePriceResponse.RequestId")); getResourcePackagePriceResponse.setCode(_ctx.stringValue("GetResourcePackagePriceResponse.Code")); getResourcePackagePriceResponse.setMessage(_ctx.stringValue("GetResourcePackagePriceResponse.Message")); getResourcePackagePriceResponse.setSuccess(_ctx.booleanValue("GetResourcePackagePriceResponse.Success")); Data data = new Data(); data.setOriginalPrice(_ctx.floatValue("GetResourcePackagePriceResponse.Data.OriginalPrice")); data.setDiscountPrice(_ctx.floatValue("GetResourcePackagePriceResponse.Data.DiscountPrice")); data.setCurrency(_ctx.stringValue("GetResourcePackagePriceResponse.Data.Currency")); data.setTradePrice(_ctx.floatValue("GetResourcePackagePriceResponse.Data.TradePrice")); List<Promotion> promotions = new ArrayList<Promotion>(); for (int i = 0; i < _ctx.lengthValue("GetResourcePackagePriceResponse.Data.Promotions.Length"); i++) { Promotion promotion = new Promotion(); promotion.setName(_ctx.stringValue("GetResourcePackagePriceResponse.Data.Promotions["+ i +"].Name")); promotion.setId(_ctx.longValue("GetResourcePackagePriceResponse.Data.Promotions["+ i +"].Id")); promotions.add(promotion); } data.setPromotions(promotions); getResourcePackagePriceResponse.setData(data); return getResourcePackagePriceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/GetSubscriptionPriceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.GetSubscriptionPriceResponse; import com.aliyuncs.bssopenapi.model.v20171214.GetSubscriptionPriceResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.GetSubscriptionPriceResponse.Data.ModuleDetail; import com.aliyuncs.bssopenapi.model.v20171214.GetSubscriptionPriceResponse.Data.PromotionDetail; import com.aliyuncs.transform.UnmarshallerContext; public class GetSubscriptionPriceResponseUnmarshaller { public static GetSubscriptionPriceResponse unmarshall(GetSubscriptionPriceResponse getSubscriptionPriceResponse, UnmarshallerContext _ctx) { getSubscriptionPriceResponse.setRequestId(_ctx.stringValue("GetSubscriptionPriceResponse.RequestId")); getSubscriptionPriceResponse.setCode(_ctx.stringValue("GetSubscriptionPriceResponse.Code")); getSubscriptionPriceResponse.setMessage(_ctx.stringValue("GetSubscriptionPriceResponse.Message")); getSubscriptionPriceResponse.setSuccess(_ctx.booleanValue("GetSubscriptionPriceResponse.Success")); Data data = new Data(); data.setOriginalPrice(_ctx.floatValue("GetSubscriptionPriceResponse.Data.OriginalPrice")); data.setDiscountPrice(_ctx.floatValue("GetSubscriptionPriceResponse.Data.DiscountPrice")); data.setCurrency(_ctx.stringValue("GetSubscriptionPriceResponse.Data.Currency")); data.setQuantity(_ctx.integerValue("GetSubscriptionPriceResponse.Data.Quantity")); data.setTradePrice(_ctx.floatValue("GetSubscriptionPriceResponse.Data.TradePrice")); List<ModuleDetail> moduleDetails = new ArrayList<ModuleDetail>(); for (int i = 0; i < _ctx.lengthValue("GetSubscriptionPriceResponse.Data.ModuleDetails.Length"); i++) { ModuleDetail moduleDetail = new ModuleDetail(); moduleDetail.setCostAfterDiscount(_ctx.floatValue("GetSubscriptionPriceResponse.Data.ModuleDetails["+ i +"].CostAfterDiscount")); moduleDetail.setInvoiceDiscount(_ctx.floatValue("GetSubscriptionPriceResponse.Data.ModuleDetails["+ i +"].InvoiceDiscount")); moduleDetail.setUnitPrice(_ctx.floatValue("GetSubscriptionPriceResponse.Data.ModuleDetails["+ i +"].UnitPrice")); moduleDetail.setOriginalCost(_ctx.floatValue("GetSubscriptionPriceResponse.Data.ModuleDetails["+ i +"].OriginalCost")); moduleDetail.setModuleCode(_ctx.stringValue("GetSubscriptionPriceResponse.Data.ModuleDetails["+ i +"].ModuleCode")); moduleDetails.add(moduleDetail); } data.setModuleDetails(moduleDetails); List<PromotionDetail> promotionDetails = new ArrayList<PromotionDetail>(); for (int i = 0; i < _ctx.lengthValue("GetSubscriptionPriceResponse.Data.PromotionDetails.Length"); i++) { PromotionDetail promotionDetail = new PromotionDetail(); promotionDetail.setPromotionDesc(_ctx.stringValue("GetSubscriptionPriceResponse.Data.PromotionDetails["+ i +"].PromotionDesc")); promotionDetail.setPromotionId(_ctx.longValue("GetSubscriptionPriceResponse.Data.PromotionDetails["+ i +"].PromotionId")); promotionDetail.setPromotionName(_ctx.stringValue("GetSubscriptionPriceResponse.Data.PromotionDetails["+ i +"].PromotionName")); promotionDetails.add(promotionDetail); } data.setPromotionDetails(promotionDetails); getSubscriptionPriceResponse.setData(data); return getSubscriptionPriceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/InquiryPriceRefundInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.InquiryPriceRefundInstanceResponse; import com.aliyuncs.bssopenapi.model.v20171214.InquiryPriceRefundInstanceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class InquiryPriceRefundInstanceResponseUnmarshaller { public static InquiryPriceRefundInstanceResponse unmarshall(InquiryPriceRefundInstanceResponse inquiryPriceRefundInstanceResponse, UnmarshallerContext _ctx) { inquiryPriceRefundInstanceResponse.setRequestId(_ctx.stringValue("InquiryPriceRefundInstanceResponse.RequestId")); inquiryPriceRefundInstanceResponse.setMessage(_ctx.stringValue("InquiryPriceRefundInstanceResponse.Message")); inquiryPriceRefundInstanceResponse.setCode(_ctx.stringValue("InquiryPriceRefundInstanceResponse.Code")); inquiryPriceRefundInstanceResponse.setSuccess(_ctx.booleanValue("InquiryPriceRefundInstanceResponse.Success")); Data data = new Data(); data.setHostId(_ctx.stringValue("InquiryPriceRefundInstanceResponse.Data.HostId")); data.setInstanceId(_ctx.stringValue("InquiryPriceRefundInstanceResponse.Data.InstanceId")); data.setCurrency(_ctx.stringValue("InquiryPriceRefundInstanceResponse.Data.Currency")); data.setRefundAmount(_ctx.doubleValue("InquiryPriceRefundInstanceResponse.Data.RefundAmount")); inquiryPriceRefundInstanceResponse.setData(data); return inquiryPriceRefundInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/ModifyAccountRelationResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.ModifyAccountRelationResponse; import com.aliyuncs.bssopenapi.model.v20171214.ModifyAccountRelationResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyAccountRelationResponseUnmarshaller { public static ModifyAccountRelationResponse unmarshall(ModifyAccountRelationResponse modifyAccountRelationResponse, UnmarshallerContext _ctx) { modifyAccountRelationResponse.setRequestId(_ctx.stringValue("ModifyAccountRelationResponse.RequestId")); modifyAccountRelationResponse.setCode(_ctx.stringValue("ModifyAccountRelationResponse.Code")); modifyAccountRelationResponse.setMessage(_ctx.stringValue("ModifyAccountRelationResponse.Message")); modifyAccountRelationResponse.setSuccess(_ctx.booleanValue("ModifyAccountRelationResponse.Success")); Data data = new Data(); data.setHostId(_ctx.stringValue("ModifyAccountRelationResponse.Data.HostId")); modifyAccountRelationResponse.setData(data); return modifyAccountRelationResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/ModifyCostUnitResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.ModifyCostUnitResponse; import com.aliyuncs.bssopenapi.model.v20171214.ModifyCostUnitResponse.DataItem; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyCostUnitResponseUnmarshaller { public static ModifyCostUnitResponse unmarshall(ModifyCostUnitResponse modifyCostUnitResponse, UnmarshallerContext _ctx) { modifyCostUnitResponse.setRequestId(_ctx.stringValue("ModifyCostUnitResponse.RequestId")); modifyCostUnitResponse.setCode(_ctx.stringValue("ModifyCostUnitResponse.Code")); modifyCostUnitResponse.setMessage(_ctx.stringValue("ModifyCostUnitResponse.Message")); modifyCostUnitResponse.setSuccess(_ctx.booleanValue("ModifyCostUnitResponse.Success")); List<DataItem> data = new ArrayList<DataItem>(); for (int i = 0; i < _ctx.lengthValue("ModifyCostUnitResponse.Data.Length"); i++) { DataItem dataItem = new DataItem(); dataItem.setIsSuccess(_ctx.booleanValue("ModifyCostUnitResponse.Data["+ i +"].IsSuccess")); dataItem.setUnitId(_ctx.longValue("ModifyCostUnitResponse.Data["+ i +"].UnitId")); dataItem.setOwnerUid(_ctx.longValue("ModifyCostUnitResponse.Data["+ i +"].OwnerUid")); data.add(dataItem); } modifyCostUnitResponse.setData(data); return modifyCostUnitResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/ModifyInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.ModifyInstanceResponse; import com.aliyuncs.bssopenapi.model.v20171214.ModifyInstanceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyInstanceResponseUnmarshaller { public static ModifyInstanceResponse unmarshall(ModifyInstanceResponse modifyInstanceResponse, UnmarshallerContext _ctx) { modifyInstanceResponse.setRequestId(_ctx.stringValue("ModifyInstanceResponse.RequestId")); modifyInstanceResponse.setCode(_ctx.stringValue("ModifyInstanceResponse.Code")); modifyInstanceResponse.setMessage(_ctx.stringValue("ModifyInstanceResponse.Message")); modifyInstanceResponse.setSuccess(_ctx.booleanValue("ModifyInstanceResponse.Success")); Data data = new Data(); data.setOrderId(_ctx.stringValue("ModifyInstanceResponse.Data.OrderId")); data.setHostId(_ctx.stringValue("ModifyInstanceResponse.Data.HostId")); modifyInstanceResponse.setData(data); return modifyInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/QueryAccountBalanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.QueryAccountBalanceResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryAccountBalanceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class QueryAccountBalanceResponseUnmarshaller { public static QueryAccountBalanceResponse unmarshall(QueryAccountBalanceResponse queryAccountBalanceResponse, UnmarshallerContext _ctx) { queryAccountBalanceResponse.setRequestId(_ctx.stringValue("QueryAccountBalanceResponse.RequestId")); queryAccountBalanceResponse.setCode(_ctx.stringValue("QueryAccountBalanceResponse.Code")); queryAccountBalanceResponse.setMessage(_ctx.stringValue("QueryAccountBalanceResponse.Message")); queryAccountBalanceResponse.setSuccess(_ctx.booleanValue("QueryAccountBalanceResponse.Success")); Data data = new Data(); data.setAvailableAmount(_ctx.stringValue("QueryAccountBalanceResponse.Data.AvailableAmount")); data.setCreditAmount(_ctx.stringValue("QueryAccountBalanceResponse.Data.CreditAmount")); data.setMybankCreditAmount(_ctx.stringValue("QueryAccountBalanceResponse.Data.MybankCreditAmount")); data.setCurrency(_ctx.stringValue("QueryAccountBalanceResponse.Data.Currency")); data.setAvailableCashAmount(_ctx.stringValue("QueryAccountBalanceResponse.Data.AvailableCashAmount")); data.setQuotaLimit(_ctx.stringValue("QueryAccountBalanceResponse.Data.QuotaLimit")); queryAccountBalanceResponse.setData(data); return queryAccountBalanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/QueryAccountBillResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.QueryAccountBillResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryAccountBillResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryAccountBillResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class QueryAccountBillResponseUnmarshaller { public static QueryAccountBillResponse unmarshall(QueryAccountBillResponse queryAccountBillResponse, UnmarshallerContext _ctx) { queryAccountBillResponse.setRequestId(_ctx.stringValue("QueryAccountBillResponse.RequestId")); queryAccountBillResponse.setCode(_ctx.stringValue("QueryAccountBillResponse.Code")); queryAccountBillResponse.setMessage(_ctx.stringValue("QueryAccountBillResponse.Message")); queryAccountBillResponse.setSuccess(_ctx.booleanValue("QueryAccountBillResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QueryAccountBillResponse.Data.PageNum")); data.setBillingCycle(_ctx.stringValue("QueryAccountBillResponse.Data.BillingCycle")); data.setAccountID(_ctx.stringValue("QueryAccountBillResponse.Data.AccountID")); data.setPageSize(_ctx.integerValue("QueryAccountBillResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QueryAccountBillResponse.Data.TotalCount")); data.setAccountName(_ctx.stringValue("QueryAccountBillResponse.Data.AccountName")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("QueryAccountBillResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setPipCode(_ctx.stringValue("QueryAccountBillResponse.Data.Items["+ i +"].PipCode")); item.setPretaxAmount(_ctx.floatValue("QueryAccountBillResponse.Data.Items["+ i +"].PretaxAmount")); item.setBillingDate(_ctx.stringValue("QueryAccountBillResponse.Data.Items["+ i +"].BillingDate")); item.setProductName(_ctx.stringValue("QueryAccountBillResponse.Data.Items["+ i +"].ProductName")); item.setAdjustAmount(_ctx.floatValue("QueryAccountBillResponse.Data.Items["+ i +"].AdjustAmount")); item.setOwnerName(_ctx.stringValue("QueryAccountBillResponse.Data.Items["+ i +"].OwnerName")); item.setCurrency(_ctx.stringValue("QueryAccountBillResponse.Data.Items["+ i +"].Currency")); item.setBillAccountName(_ctx.stringValue("QueryAccountBillResponse.Data.Items["+ i +"].BillAccountName")); item.setSubscriptionType(_ctx.stringValue("QueryAccountBillResponse.Data.Items["+ i +"].SubscriptionType")); item.setDeductedByCashCoupons(_ctx.floatValue("QueryAccountBillResponse.Data.Items["+ i +"].DeductedByCashCoupons")); item.setBizType(_ctx.stringValue("QueryAccountBillResponse.Data.Items["+ i +"].BizType")); item.setOwnerID(_ctx.stringValue("QueryAccountBillResponse.Data.Items["+ i +"].OwnerID")); item.setDeductedByPrepaidCard(_ctx.floatValue("QueryAccountBillResponse.Data.Items["+ i +"].DeductedByPrepaidCard")); item.setDeductedByCoupons(_ctx.floatValue("QueryAccountBillResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setBillAccountID(_ctx.stringValue("QueryAccountBillResponse.Data.Items["+ i +"].BillAccountID")); item.setPaymentAmount(_ctx.floatValue("QueryAccountBillResponse.Data.Items["+ i +"].PaymentAmount")); item.setInvoiceDiscount(_ctx.floatValue("QueryAccountBillResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setOutstandingAmount(_ctx.floatValue("QueryAccountBillResponse.Data.Items["+ i +"].OutstandingAmount")); item.setCostUnit(_ctx.stringValue("QueryAccountBillResponse.Data.Items["+ i +"].CostUnit")); item.setPretaxGrossAmount(_ctx.floatValue("QueryAccountBillResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setCashAmount(_ctx.floatValue("QueryAccountBillResponse.Data.Items["+ i +"].CashAmount")); item.setProductCode(_ctx.stringValue("QueryAccountBillResponse.Data.Items["+ i +"].ProductCode")); items.add(item); } data.setItems(items); queryAccountBillResponse.setData(data); return queryAccountBillResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/QueryAccountTransactionDetailsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.QueryAccountTransactionDetailsResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryAccountTransactionDetailsResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryAccountTransactionDetailsResponse.Data.AccountTransactionsListItem; import com.aliyuncs.transform.UnmarshallerContext; public class QueryAccountTransactionDetailsResponseUnmarshaller { public static QueryAccountTransactionDetailsResponse unmarshall(QueryAccountTransactionDetailsResponse queryAccountTransactionDetailsResponse, UnmarshallerContext _ctx) { queryAccountTransactionDetailsResponse.setRequestId(_ctx.stringValue("QueryAccountTransactionDetailsResponse.RequestId")); queryAccountTransactionDetailsResponse.setCode(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Code")); queryAccountTransactionDetailsResponse.setMessage(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Message")); queryAccountTransactionDetailsResponse.setSuccess(_ctx.booleanValue("QueryAccountTransactionDetailsResponse.Success")); Data data = new Data(); data.setNextToken(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.NextToken")); data.setTotalCount(_ctx.integerValue("QueryAccountTransactionDetailsResponse.Data.TotalCount")); data.setMaxResults(_ctx.integerValue("QueryAccountTransactionDetailsResponse.Data.MaxResults")); data.setAccountName(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountName")); List<AccountTransactionsListItem> accountTransactionsList = new ArrayList<AccountTransactionsListItem>(); for (int i = 0; i < _ctx.lengthValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList.Length"); i++) { AccountTransactionsListItem accountTransactionsListItem = new AccountTransactionsListItem(); accountTransactionsListItem.setBillingCycle(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList["+ i +"].BillingCycle")); accountTransactionsListItem.setTransactionChannel(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList["+ i +"].TransactionChannel")); accountTransactionsListItem.setRecordID(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList["+ i +"].RecordID")); accountTransactionsListItem.setRemarks(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList["+ i +"].Remarks")); accountTransactionsListItem.setAmount(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList["+ i +"].Amount")); accountTransactionsListItem.setTransactionAccount(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList["+ i +"].TransactionAccount")); accountTransactionsListItem.setTransactionTime(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList["+ i +"].TransactionTime")); accountTransactionsListItem.setTransactionType(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList["+ i +"].TransactionType")); accountTransactionsListItem.setTransactionFlow(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList["+ i +"].TransactionFlow")); accountTransactionsListItem.setFundType(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList["+ i +"].FundType")); accountTransactionsListItem.setTransactionChannelSN(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList["+ i +"].TransactionChannelSN")); accountTransactionsListItem.setTransactionNumber(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList["+ i +"].TransactionNumber")); accountTransactionsListItem.setBalance(_ctx.stringValue("QueryAccountTransactionDetailsResponse.Data.AccountTransactionsList["+ i +"].Balance")); accountTransactionsList.add(accountTransactionsListItem); } data.setAccountTransactionsList(accountTransactionsList); queryAccountTransactionDetailsResponse.setData(data); return queryAccountTransactionDetailsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/QueryAccountTransactionsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.QueryAccountTransactionsResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryAccountTransactionsResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryAccountTransactionsResponse.Data.AccountTransactionsListItem; import com.aliyuncs.transform.UnmarshallerContext; public class QueryAccountTransactionsResponseUnmarshaller { public static QueryAccountTransactionsResponse unmarshall(QueryAccountTransactionsResponse queryAccountTransactionsResponse, UnmarshallerContext _ctx) { queryAccountTransactionsResponse.setRequestId(_ctx.stringValue("QueryAccountTransactionsResponse.RequestId")); queryAccountTransactionsResponse.setCode(_ctx.stringValue("QueryAccountTransactionsResponse.Code")); queryAccountTransactionsResponse.setMessage(_ctx.stringValue("QueryAccountTransactionsResponse.Message")); queryAccountTransactionsResponse.setSuccess(_ctx.booleanValue("QueryAccountTransactionsResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QueryAccountTransactionsResponse.Data.PageNum")); data.setPageSize(_ctx.integerValue("QueryAccountTransactionsResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QueryAccountTransactionsResponse.Data.TotalCount")); data.setAccountName(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountName")); List<AccountTransactionsListItem> accountTransactionsList = new ArrayList<AccountTransactionsListItem>(); for (int i = 0; i < _ctx.lengthValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList.Length"); i++) { AccountTransactionsListItem accountTransactionsListItem = new AccountTransactionsListItem(); accountTransactionsListItem.setBillingCycle(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList["+ i +"].BillingCycle")); accountTransactionsListItem.setTransactionChannel(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList["+ i +"].TransactionChannel")); accountTransactionsListItem.setRecordID(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList["+ i +"].RecordID")); accountTransactionsListItem.setRemarks(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList["+ i +"].Remarks")); accountTransactionsListItem.setAmount(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList["+ i +"].Amount")); accountTransactionsListItem.setTransactionAccount(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList["+ i +"].TransactionAccount")); accountTransactionsListItem.setTransactionTime(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList["+ i +"].TransactionTime")); accountTransactionsListItem.setTransactionType(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList["+ i +"].TransactionType")); accountTransactionsListItem.setTransactionFlow(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList["+ i +"].TransactionFlow")); accountTransactionsListItem.setFundType(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList["+ i +"].FundType")); accountTransactionsListItem.setTransactionChannelSN(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList["+ i +"].TransactionChannelSN")); accountTransactionsListItem.setTransactionNumber(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList["+ i +"].TransactionNumber")); accountTransactionsListItem.setBalance(_ctx.stringValue("QueryAccountTransactionsResponse.Data.AccountTransactionsList["+ i +"].Balance")); accountTransactionsList.add(accountTransactionsListItem); } data.setAccountTransactionsList(accountTransactionsList); queryAccountTransactionsResponse.setData(data); return queryAccountTransactionsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/QueryAvailableInstancesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.QueryAvailableInstancesResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryAvailableInstancesResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryAvailableInstancesResponse.Data.Instance; import com.aliyuncs.transform.UnmarshallerContext; public class QueryAvailableInstancesResponseUnmarshaller { public static QueryAvailableInstancesResponse unmarshall(QueryAvailableInstancesResponse queryAvailableInstancesResponse, UnmarshallerContext _ctx) { queryAvailableInstancesResponse.setRequestId(_ctx.stringValue("QueryAvailableInstancesResponse.RequestId")); queryAvailableInstancesResponse.setCode(_ctx.stringValue("QueryAvailableInstancesResponse.Code")); queryAvailableInstancesResponse.setMessage(_ctx.stringValue("QueryAvailableInstancesResponse.Message")); queryAvailableInstancesResponse.setSuccess(_ctx.booleanValue("QueryAvailableInstancesResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QueryAvailableInstancesResponse.Data.PageNum")); data.setPageSize(_ctx.integerValue("QueryAvailableInstancesResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QueryAvailableInstancesResponse.Data.TotalCount")); List<Instance> instanceList = new ArrayList<Instance>(); for (int i = 0; i < _ctx.lengthValue("QueryAvailableInstancesResponse.Data.InstanceList.Length"); i++) { Instance instance = new Instance(); instance.setSubStatus(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].SubStatus")); instance.setStatus(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].Status")); instance.setExpectedReleaseTime(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].ExpectedReleaseTime")); instance.setRenewStatus(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].RenewStatus")); instance.setCreateTime(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].CreateTime")); instance.setSellerId(_ctx.longValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].SellerId")); instance.setInstanceID(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].InstanceID")); instance.setSeller(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].Seller")); instance.setStopTime(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].StopTime")); instance.setRenewalDurationUnit(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].RenewalDurationUnit")); instance.setSubscriptionType(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].SubscriptionType")); instance.setOwnerId(_ctx.longValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].OwnerId")); instance.setEndTime(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].EndTime")); instance.setProductType(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].ProductType")); instance.setRegion(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].Region")); instance.setReleaseTime(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].ReleaseTime")); instance.setRenewalDuration(_ctx.integerValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].RenewalDuration")); instance.setProductCode(_ctx.stringValue("QueryAvailableInstancesResponse.Data.InstanceList["+ i +"].ProductCode")); instanceList.add(instance); } data.setInstanceList(instanceList); queryAvailableInstancesResponse.setData(data); return queryAvailableInstancesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/QueryBillOverviewResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.QueryBillOverviewResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryBillOverviewResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryBillOverviewResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class QueryBillOverviewResponseUnmarshaller { public static QueryBillOverviewResponse unmarshall(QueryBillOverviewResponse queryBillOverviewResponse, UnmarshallerContext _ctx) { queryBillOverviewResponse.setRequestId(_ctx.stringValue("QueryBillOverviewResponse.RequestId")); queryBillOverviewResponse.setCode(_ctx.stringValue("QueryBillOverviewResponse.Code")); queryBillOverviewResponse.setMessage(_ctx.stringValue("QueryBillOverviewResponse.Message")); queryBillOverviewResponse.setSuccess(_ctx.booleanValue("QueryBillOverviewResponse.Success")); Data data = new Data(); data.setBillingCycle(_ctx.stringValue("QueryBillOverviewResponse.Data.BillingCycle")); data.setAccountID(_ctx.stringValue("QueryBillOverviewResponse.Data.AccountID")); data.setAccountName(_ctx.stringValue("QueryBillOverviewResponse.Data.AccountName")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("QueryBillOverviewResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setRoundDownDiscount(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].RoundDownDiscount")); item.setItem(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].Item")); item.setCurrency(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].Currency")); item.setSubscriptionType(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].SubscriptionType")); item.setDeductedByCashCoupons(_ctx.floatValue("QueryBillOverviewResponse.Data.Items["+ i +"].DeductedByCashCoupons")); item.setBillAccountName(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].BillAccountName")); item.setBizType(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].BizType")); item.setDeductedByCoupons(_ctx.floatValue("QueryBillOverviewResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setOutstandingAmount(_ctx.floatValue("QueryBillOverviewResponse.Data.Items["+ i +"].OutstandingAmount")); item.setAfterTaxAmount(_ctx.floatValue("QueryBillOverviewResponse.Data.Items["+ i +"].AfterTaxAmount")); item.setPretaxAmountLocal(_ctx.floatValue("QueryBillOverviewResponse.Data.Items["+ i +"].PretaxAmountLocal")); item.setTax(_ctx.floatValue("QueryBillOverviewResponse.Data.Items["+ i +"].Tax")); item.setPipCode(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].PipCode")); item.setPretaxAmount(_ctx.floatValue("QueryBillOverviewResponse.Data.Items["+ i +"].PretaxAmount")); item.setProductName(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].ProductName")); item.setCommodityCode(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].CommodityCode")); item.setAdjustAmount(_ctx.floatValue("QueryBillOverviewResponse.Data.Items["+ i +"].AdjustAmount")); item.setProductDetail(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].ProductDetail")); item.setPaymentCurrency(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].PaymentCurrency")); item.setOwnerID(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].OwnerID")); item.setDeductedByPrepaidCard(_ctx.floatValue("QueryBillOverviewResponse.Data.Items["+ i +"].DeductedByPrepaidCard")); item.setProductType(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].ProductType")); item.setInvoiceDiscount(_ctx.floatValue("QueryBillOverviewResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setPaymentAmount(_ctx.floatValue("QueryBillOverviewResponse.Data.Items["+ i +"].PaymentAmount")); item.setBillAccountID(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].BillAccountID")); item.setPretaxGrossAmount(_ctx.floatValue("QueryBillOverviewResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setCashAmount(_ctx.floatValue("QueryBillOverviewResponse.Data.Items["+ i +"].CashAmount")); item.setProductCode(_ctx.stringValue("QueryBillOverviewResponse.Data.Items["+ i +"].ProductCode")); items.add(item); } data.setItems(items); queryBillOverviewResponse.setData(data); return queryBillOverviewResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/QueryBillResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import java.util.ArrayList; import java.util.List; import com.aliyuncs.bssopenapi.model.v20171214.QueryBillResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryBillResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryBillResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class QueryBillResponseUnmarshaller { public static QueryBillResponse unmarshall(QueryBillResponse queryBillResponse, UnmarshallerContext _ctx) { queryBillResponse.setRequestId(_ctx.stringValue("QueryBillResponse.RequestId")); queryBillResponse.setCode(_ctx.stringValue("QueryBillResponse.Code")); queryBillResponse.setMessage(_ctx.stringValue("QueryBillResponse.Message")); queryBillResponse.setSuccess(_ctx.booleanValue("QueryBillResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QueryBillResponse.Data.PageNum")); data.setBillingCycle(_ctx.stringValue("QueryBillResponse.Data.BillingCycle")); data.setAccountID(_ctx.stringValue("QueryBillResponse.Data.AccountID")); data.setPageSize(_ctx.integerValue("QueryBillResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QueryBillResponse.Data.TotalCount")); data.setAccountName(_ctx.stringValue("QueryBillResponse.Data.AccountName")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("QueryBillResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setStatus(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].Status")); item.setRoundDownDiscount(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].RoundDownDiscount")); item.setItem(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].Item")); item.setCurrency(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].Currency")); item.setUsageStartTime(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].UsageStartTime")); item.setSubscriptionType(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].SubscriptionType")); item.setDeductedByCashCoupons(_ctx.floatValue("QueryBillResponse.Data.Items["+ i +"].DeductedByCashCoupons")); item.setUsageEndTime(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].UsageEndTime")); item.setDeductedByCoupons(_ctx.floatValue("QueryBillResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setSubOrderId(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].SubOrderId")); item.setOutstandingAmount(_ctx.floatValue("QueryBillResponse.Data.Items["+ i +"].OutstandingAmount")); item.setAfterTaxAmount(_ctx.floatValue("QueryBillResponse.Data.Items["+ i +"].AfterTaxAmount")); item.setPaymentTime(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].PaymentTime")); item.setPretaxAmountLocal(_ctx.floatValue("QueryBillResponse.Data.Items["+ i +"].PretaxAmountLocal")); item.setTax(_ctx.floatValue("QueryBillResponse.Data.Items["+ i +"].Tax")); item.setPipCode(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].PipCode")); item.setPaymentTransactionID(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].PaymentTransactionID")); item.setPretaxAmount(_ctx.floatValue("QueryBillResponse.Data.Items["+ i +"].PretaxAmount")); item.setCommodityCode(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].CommodityCode")); item.setProductName(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].ProductName")); item.setRecordID(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].RecordID")); item.setAdjustAmount(_ctx.floatValue("QueryBillResponse.Data.Items["+ i +"].AdjustAmount")); item.setProductDetail(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].ProductDetail")); item.setPaymentCurrency(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].PaymentCurrency")); item.setOwnerID(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].OwnerID")); item.setDeductedByPrepaidCard(_ctx.floatValue("QueryBillResponse.Data.Items["+ i +"].DeductedByPrepaidCard")); item.setProductType(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].ProductType")); item.setInvoiceDiscount(_ctx.floatValue("QueryBillResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setPaymentAmount(_ctx.floatValue("QueryBillResponse.Data.Items["+ i +"].PaymentAmount")); item.setPretaxGrossAmount(_ctx.floatValue("QueryBillResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setCashAmount(_ctx.floatValue("QueryBillResponse.Data.Items["+ i +"].CashAmount")); item.setProductCode(_ctx.stringValue("QueryBillResponse.Data.Items["+ i +"].ProductCode")); items.add(item); } data.setItems(items); queryBillResponse.setData(data); return queryBillResponse; } }