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/transform
java-sources/com/aliyun/aliyun-java-sdk-bssopenapi/1.8.13/com/aliyuncs/bssopenapi/transform/v20171214/QueryBillToOSSSubscriptionResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryBillToOSSSubscriptionResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryBillToOSSSubscriptionResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryBillToOSSSubscriptionResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class QueryBillToOSSSubscriptionResponseUnmarshaller { public static QueryBillToOSSSubscriptionResponse unmarshall(QueryBillToOSSSubscriptionResponse queryBillToOSSSubscriptionResponse, UnmarshallerContext _ctx) { queryBillToOSSSubscriptionResponse.setRequestId(_ctx.stringValue("QueryBillToOSSSubscriptionResponse.RequestId")); queryBillToOSSSubscriptionResponse.setCode(_ctx.stringValue("QueryBillToOSSSubscriptionResponse.Code")); queryBillToOSSSubscriptionResponse.setMessage(_ctx.stringValue("QueryBillToOSSSubscriptionResponse.Message")); queryBillToOSSSubscriptionResponse.setSuccess(_ctx.booleanValue("QueryBillToOSSSubscriptionResponse.Success")); Data data = new Data(); data.setAccountName(_ctx.stringValue("QueryBillToOSSSubscriptionResponse.Data.AccountName")); data.setAccountID(_ctx.stringValue("QueryBillToOSSSubscriptionResponse.Data.AccountID")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("QueryBillToOSSSubscriptionResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setBucketOwnerId(_ctx.longValue("QueryBillToOSSSubscriptionResponse.Data.Items["+ i +"].BucketOwnerId")); item.setSubscribeType(_ctx.stringValue("QueryBillToOSSSubscriptionResponse.Data.Items["+ i +"].SubscribeType")); item.setSubscribeBucket(_ctx.stringValue("QueryBillToOSSSubscriptionResponse.Data.Items["+ i +"].SubscribeBucket")); item.setSubscribeTime(_ctx.stringValue("QueryBillToOSSSubscriptionResponse.Data.Items["+ i +"].SubscribeTime")); item.setSubscribeLanguage(_ctx.stringValue("QueryBillToOSSSubscriptionResponse.Data.Items["+ i +"].SubscribeLanguage")); item.setMultAccountRelSubscribe(_ctx.stringValue("QueryBillToOSSSubscriptionResponse.Data.Items["+ i +"].MultAccountRelSubscribe")); item.setBucketPath(_ctx.stringValue("QueryBillToOSSSubscriptionResponse.Data.Items["+ i +"].BucketPath")); item.setRowLimitPerFile(_ctx.integerValue("QueryBillToOSSSubscriptionResponse.Data.Items["+ i +"].RowLimitPerFile")); items.add(item); } data.setItems(items); queryBillToOSSSubscriptionResponse.setData(data); return queryBillToOSSSubscriptionResponse; } }
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/QueryCashCouponsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryCashCouponsResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryCashCouponsResponse.CashCoupon; import com.aliyuncs.transform.UnmarshallerContext; public class QueryCashCouponsResponseUnmarshaller { public static QueryCashCouponsResponse unmarshall(QueryCashCouponsResponse queryCashCouponsResponse, UnmarshallerContext _ctx) { queryCashCouponsResponse.setRequestId(_ctx.stringValue("QueryCashCouponsResponse.RequestId")); queryCashCouponsResponse.setCode(_ctx.stringValue("QueryCashCouponsResponse.Code")); queryCashCouponsResponse.setMessage(_ctx.stringValue("QueryCashCouponsResponse.Message")); queryCashCouponsResponse.setSuccess(_ctx.booleanValue("QueryCashCouponsResponse.Success")); List<CashCoupon> data = new ArrayList<CashCoupon>(); for (int i = 0; i < _ctx.lengthValue("QueryCashCouponsResponse.Data.Length"); i++) { CashCoupon cashCoupon = new CashCoupon(); cashCoupon.setStatus(_ctx.stringValue("QueryCashCouponsResponse.Data["+ i +"].Status")); cashCoupon.setExpiryTime(_ctx.stringValue("QueryCashCouponsResponse.Data["+ i +"].ExpiryTime")); cashCoupon.setGrantedTime(_ctx.stringValue("QueryCashCouponsResponse.Data["+ i +"].GrantedTime")); cashCoupon.setNominalValue(_ctx.stringValue("QueryCashCouponsResponse.Data["+ i +"].NominalValue")); cashCoupon.setEffectiveTime(_ctx.stringValue("QueryCashCouponsResponse.Data["+ i +"].EffectiveTime")); cashCoupon.setApplicableScenarios(_ctx.stringValue("QueryCashCouponsResponse.Data["+ i +"].ApplicableScenarios")); cashCoupon.setCashCouponId(_ctx.longValue("QueryCashCouponsResponse.Data["+ i +"].CashCouponId")); cashCoupon.setApplicableProducts(_ctx.stringValue("QueryCashCouponsResponse.Data["+ i +"].ApplicableProducts")); cashCoupon.setCashCouponNo(_ctx.stringValue("QueryCashCouponsResponse.Data["+ i +"].CashCouponNo")); cashCoupon.setBalance(_ctx.stringValue("QueryCashCouponsResponse.Data["+ i +"].Balance")); cashCoupon.setDescription(_ctx.stringValue("QueryCashCouponsResponse.Data["+ i +"].Description")); data.add(cashCoupon); } queryCashCouponsResponse.setData(data); return queryCashCouponsResponse; } }
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/QueryCommodityListResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryCommodityListResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryCommodityListResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryCommodityListResponse.Data.CommodityDTO; import com.aliyuncs.transform.UnmarshallerContext; public class QueryCommodityListResponseUnmarshaller { public static QueryCommodityListResponse unmarshall(QueryCommodityListResponse queryCommodityListResponse, UnmarshallerContext _ctx) { queryCommodityListResponse.setRequestId(_ctx.stringValue("QueryCommodityListResponse.RequestId")); queryCommodityListResponse.setMessage(_ctx.stringValue("QueryCommodityListResponse.Message")); queryCommodityListResponse.setSuccess(_ctx.booleanValue("QueryCommodityListResponse.Success")); queryCommodityListResponse.setCode(_ctx.stringValue("QueryCommodityListResponse.Code")); Data data = new Data(); List<CommodityDTO> commodityList = new ArrayList<CommodityDTO>(); for (int i = 0; i < _ctx.lengthValue("QueryCommodityListResponse.Data.CommodityList.Length"); i++) { CommodityDTO commodityDTO = new CommodityDTO(); commodityDTO.setCommodityCode(_ctx.stringValue("QueryCommodityListResponse.Data.CommodityList["+ i +"].CommodityCode")); commodityDTO.setCommodityName(_ctx.stringValue("QueryCommodityListResponse.Data.CommodityList["+ i +"].CommodityName")); commodityDTO.setChargeType(_ctx.stringValue("QueryCommodityListResponse.Data.CommodityList["+ i +"].ChargeType")); commodityList.add(commodityDTO); } data.setCommodityList(commodityList); queryCommodityListResponse.setData(data); return queryCommodityListResponse; } }
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/QueryCostUnitResourceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryCostUnitResourceResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryCostUnitResourceResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryCostUnitResourceResponse.Data.CostUnit; import com.aliyuncs.bssopenapi.model.v20171214.QueryCostUnitResourceResponse.Data.CostUnitStatisInfo; import com.aliyuncs.bssopenapi.model.v20171214.QueryCostUnitResourceResponse.Data.ResourceInstanceList; import com.aliyuncs.transform.UnmarshallerContext; public class QueryCostUnitResourceResponseUnmarshaller { public static QueryCostUnitResourceResponse unmarshall(QueryCostUnitResourceResponse queryCostUnitResourceResponse, UnmarshallerContext _ctx) { queryCostUnitResourceResponse.setRequestId(_ctx.stringValue("QueryCostUnitResourceResponse.RequestId")); queryCostUnitResourceResponse.setCode(_ctx.stringValue("QueryCostUnitResourceResponse.Code")); queryCostUnitResourceResponse.setMessage(_ctx.stringValue("QueryCostUnitResourceResponse.Message")); queryCostUnitResourceResponse.setSuccess(_ctx.booleanValue("QueryCostUnitResourceResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QueryCostUnitResourceResponse.Data.PageNum")); data.setPageSize(_ctx.integerValue("QueryCostUnitResourceResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QueryCostUnitResourceResponse.Data.TotalCount")); CostUnit costUnit = new CostUnit(); costUnit.setParentUnitId(_ctx.longValue("QueryCostUnitResourceResponse.Data.CostUnit.ParentUnitId")); costUnit.setUnitName(_ctx.stringValue("QueryCostUnitResourceResponse.Data.CostUnit.UnitName")); costUnit.setUnitId(_ctx.longValue("QueryCostUnitResourceResponse.Data.CostUnit.UnitId")); costUnit.setOwnerUid(_ctx.longValue("QueryCostUnitResourceResponse.Data.CostUnit.OwnerUid")); data.setCostUnit(costUnit); CostUnitStatisInfo costUnitStatisInfo = new CostUnitStatisInfo(); costUnitStatisInfo.setTotalResourceCount(_ctx.longValue("QueryCostUnitResourceResponse.Data.CostUnitStatisInfo.TotalResourceCount")); costUnitStatisInfo.setResourceCount(_ctx.longValue("QueryCostUnitResourceResponse.Data.CostUnitStatisInfo.ResourceCount")); costUnitStatisInfo.setTotalUserCount(_ctx.longValue("QueryCostUnitResourceResponse.Data.CostUnitStatisInfo.TotalUserCount")); costUnitStatisInfo.setSubUnitCount(_ctx.longValue("QueryCostUnitResourceResponse.Data.CostUnitStatisInfo.SubUnitCount")); costUnitStatisInfo.setResourceGroupCount(_ctx.longValue("QueryCostUnitResourceResponse.Data.CostUnitStatisInfo.ResourceGroupCount")); costUnitStatisInfo.setTotalResourceGroupCount(_ctx.longValue("QueryCostUnitResourceResponse.Data.CostUnitStatisInfo.TotalResourceGroupCount")); costUnitStatisInfo.setUserCount(_ctx.longValue("QueryCostUnitResourceResponse.Data.CostUnitStatisInfo.UserCount")); data.setCostUnitStatisInfo(costUnitStatisInfo); List<ResourceInstanceList> resourceInstanceDtoList = new ArrayList<ResourceInstanceList>(); for (int i = 0; i < _ctx.lengthValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList.Length"); i++) { ResourceInstanceList resourceInstanceList = new ResourceInstanceList(); resourceInstanceList.setCommodityCode(_ctx.stringValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList["+ i +"].CommodityCode")); resourceInstanceList.setResourceUserName(_ctx.stringValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList["+ i +"].ResourceUserName")); resourceInstanceList.setCommodityName(_ctx.stringValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList["+ i +"].CommodityName")); resourceInstanceList.setResourceUserId(_ctx.longValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList["+ i +"].ResourceUserId")); resourceInstanceList.setApportionName(_ctx.stringValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList["+ i +"].ApportionName")); resourceInstanceList.setApportionCode(_ctx.stringValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList["+ i +"].ApportionCode")); resourceInstanceList.setResourceType(_ctx.stringValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList["+ i +"].ResourceType")); resourceInstanceList.setResourceNick(_ctx.stringValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList["+ i +"].ResourceNick")); resourceInstanceList.setResourceTag(_ctx.stringValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList["+ i +"].ResourceTag")); resourceInstanceList.setResourceId(_ctx.stringValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList["+ i +"].ResourceId")); resourceInstanceList.setResourceGroup(_ctx.stringValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList["+ i +"].ResourceGroup")); resourceInstanceList.setRelatedResources(_ctx.stringValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList["+ i +"].RelatedResources")); resourceInstanceList.setResourceStatus(_ctx.stringValue("QueryCostUnitResourceResponse.Data.ResourceInstanceDtoList["+ i +"].ResourceStatus")); resourceInstanceDtoList.add(resourceInstanceList); } data.setResourceInstanceDtoList(resourceInstanceDtoList); queryCostUnitResourceResponse.setData(data); return queryCostUnitResourceResponse; } }
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/QueryCostUnitResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryCostUnitResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryCostUnitResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryCostUnitResponse.Data.CostUnitDtoListItem; import com.aliyuncs.transform.UnmarshallerContext; public class QueryCostUnitResponseUnmarshaller { public static QueryCostUnitResponse unmarshall(QueryCostUnitResponse queryCostUnitResponse, UnmarshallerContext _ctx) { queryCostUnitResponse.setRequestId(_ctx.stringValue("QueryCostUnitResponse.RequestId")); queryCostUnitResponse.setCode(_ctx.stringValue("QueryCostUnitResponse.Code")); queryCostUnitResponse.setMessage(_ctx.stringValue("QueryCostUnitResponse.Message")); queryCostUnitResponse.setSuccess(_ctx.booleanValue("QueryCostUnitResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QueryCostUnitResponse.Data.PageNum")); data.setPageSize(_ctx.integerValue("QueryCostUnitResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QueryCostUnitResponse.Data.TotalCount")); List<CostUnitDtoListItem> costUnitDtoList = new ArrayList<CostUnitDtoListItem>(); for (int i = 0; i < _ctx.lengthValue("QueryCostUnitResponse.Data.CostUnitDtoList.Length"); i++) { CostUnitDtoListItem costUnitDtoListItem = new CostUnitDtoListItem(); costUnitDtoListItem.setParentUnitId(_ctx.longValue("QueryCostUnitResponse.Data.CostUnitDtoList["+ i +"].ParentUnitId")); costUnitDtoListItem.setUnitName(_ctx.stringValue("QueryCostUnitResponse.Data.CostUnitDtoList["+ i +"].UnitName")); costUnitDtoListItem.setUnitId(_ctx.longValue("QueryCostUnitResponse.Data.CostUnitDtoList["+ i +"].UnitId")); costUnitDtoListItem.setOwnerUid(_ctx.longValue("QueryCostUnitResponse.Data.CostUnitDtoList["+ i +"].OwnerUid")); costUnitDtoList.add(costUnitDtoListItem); } data.setCostUnitDtoList(costUnitDtoList); queryCostUnitResponse.setData(data); return queryCostUnitResponse; } }
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/QueryCustomerAddressListResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryCustomerAddressListResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryCustomerAddressListResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryCustomerAddressListResponse.Data.CustomerInvoiceAddress; import com.aliyuncs.transform.UnmarshallerContext; public class QueryCustomerAddressListResponseUnmarshaller { public static QueryCustomerAddressListResponse unmarshall(QueryCustomerAddressListResponse queryCustomerAddressListResponse, UnmarshallerContext _ctx) { queryCustomerAddressListResponse.setRequestId(_ctx.stringValue("QueryCustomerAddressListResponse.RequestId")); queryCustomerAddressListResponse.setCode(_ctx.stringValue("QueryCustomerAddressListResponse.Code")); queryCustomerAddressListResponse.setMessage(_ctx.stringValue("QueryCustomerAddressListResponse.Message")); queryCustomerAddressListResponse.setSuccess(_ctx.booleanValue("QueryCustomerAddressListResponse.Success")); Data data = new Data(); List<CustomerInvoiceAddress> customerInvoiceAddressList = new ArrayList<CustomerInvoiceAddress>(); for (int i = 0; i < _ctx.lengthValue("QueryCustomerAddressListResponse.Data.CustomerInvoiceAddressList.Length"); i++) { CustomerInvoiceAddress customerInvoiceAddress = new CustomerInvoiceAddress(); customerInvoiceAddress.setAddressee(_ctx.stringValue("QueryCustomerAddressListResponse.Data.CustomerInvoiceAddressList["+ i +"].Addressee")); customerInvoiceAddress.setPostalCode(_ctx.stringValue("QueryCustomerAddressListResponse.Data.CustomerInvoiceAddressList["+ i +"].PostalCode")); customerInvoiceAddress.setUserId(_ctx.longValue("QueryCustomerAddressListResponse.Data.CustomerInvoiceAddressList["+ i +"].UserId")); customerInvoiceAddress.setCity(_ctx.stringValue("QueryCustomerAddressListResponse.Data.CustomerInvoiceAddressList["+ i +"].City")); customerInvoiceAddress.setUserNick(_ctx.stringValue("QueryCustomerAddressListResponse.Data.CustomerInvoiceAddressList["+ i +"].UserNick")); customerInvoiceAddress.setStreet(_ctx.stringValue("QueryCustomerAddressListResponse.Data.CustomerInvoiceAddressList["+ i +"].Street")); customerInvoiceAddress.setPhone(_ctx.stringValue("QueryCustomerAddressListResponse.Data.CustomerInvoiceAddressList["+ i +"].Phone")); customerInvoiceAddress.setCounty(_ctx.stringValue("QueryCustomerAddressListResponse.Data.CustomerInvoiceAddressList["+ i +"].County")); customerInvoiceAddress.setBizType(_ctx.stringValue("QueryCustomerAddressListResponse.Data.CustomerInvoiceAddressList["+ i +"].BizType")); customerInvoiceAddress.setDeliveryAddress(_ctx.stringValue("QueryCustomerAddressListResponse.Data.CustomerInvoiceAddressList["+ i +"].DeliveryAddress")); customerInvoiceAddress.setId(_ctx.longValue("QueryCustomerAddressListResponse.Data.CustomerInvoiceAddressList["+ i +"].Id")); customerInvoiceAddress.setProvince(_ctx.stringValue("QueryCustomerAddressListResponse.Data.CustomerInvoiceAddressList["+ i +"].Province")); customerInvoiceAddressList.add(customerInvoiceAddress); } data.setCustomerInvoiceAddressList(customerInvoiceAddressList); queryCustomerAddressListResponse.setData(data); return queryCustomerAddressListResponse; } }
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/QueryDPUtilizationDetailResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryDPUtilizationDetailResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryDPUtilizationDetailResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryDPUtilizationDetailResponse.Data.DetailListItem; import com.aliyuncs.transform.UnmarshallerContext; public class QueryDPUtilizationDetailResponseUnmarshaller { public static QueryDPUtilizationDetailResponse unmarshall(QueryDPUtilizationDetailResponse queryDPUtilizationDetailResponse, UnmarshallerContext _ctx) { queryDPUtilizationDetailResponse.setRequestId(_ctx.stringValue("QueryDPUtilizationDetailResponse.RequestId")); queryDPUtilizationDetailResponse.setCode(_ctx.stringValue("QueryDPUtilizationDetailResponse.Code")); queryDPUtilizationDetailResponse.setMessage(_ctx.stringValue("QueryDPUtilizationDetailResponse.Message")); queryDPUtilizationDetailResponse.setSuccess(_ctx.booleanValue("QueryDPUtilizationDetailResponse.Success")); Data data = new Data(); data.setNextToken(_ctx.stringValue("QueryDPUtilizationDetailResponse.Data.NextToken")); List<DetailListItem> detailList = new ArrayList<DetailListItem>(); for (int i = 0; i < _ctx.lengthValue("QueryDPUtilizationDetailResponse.Data.DetailList.Length"); i++) { DetailListItem detailListItem = new DetailListItem(); detailListItem.setDeductedInstanceId(_ctx.stringValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].DeductedInstanceId")); detailListItem.setInstanceId(_ctx.stringValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].InstanceId")); detailListItem.setDeductHours(_ctx.floatValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].DeductHours")); detailListItem.setShareUid(_ctx.longValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].ShareUid")); detailListItem.setDeductDate(_ctx.stringValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].DeductDate")); detailListItem.setInstanceSpec(_ctx.stringValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].InstanceSpec")); detailListItem.setDeductedCommodityCode(_ctx.stringValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].DeductedCommodityCode")); detailListItem.setDeductedProductDetail(_ctx.stringValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].DeductedProductDetail")); detailListItem.setDeductMeasure(_ctx.floatValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].DeductMeasure")); detailListItem.setRegion(_ctx.stringValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].Region")); detailListItem.setDeductQuantity(_ctx.floatValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].DeductQuantity")); detailListItem.setDeductFactorTotal(_ctx.floatValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].DeductFactorTotal")); detailListItem.setResCode(_ctx.stringValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].ResCode")); detailListItem.setUid(_ctx.longValue("QueryDPUtilizationDetailResponse.Data.DetailList["+ i +"].Uid")); detailList.add(detailListItem); } data.setDetailList(detailList); queryDPUtilizationDetailResponse.setData(data); return queryDPUtilizationDetailResponse; } }
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/QueryEvaluateListResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryEvaluateListResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryEvaluateListResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryEvaluateListResponse.Data.Evaluate; import com.aliyuncs.transform.UnmarshallerContext; public class QueryEvaluateListResponseUnmarshaller { public static QueryEvaluateListResponse unmarshall(QueryEvaluateListResponse queryEvaluateListResponse, UnmarshallerContext _ctx) { queryEvaluateListResponse.setRequestId(_ctx.stringValue("QueryEvaluateListResponse.RequestId")); queryEvaluateListResponse.setCode(_ctx.stringValue("QueryEvaluateListResponse.Code")); queryEvaluateListResponse.setMessage(_ctx.stringValue("QueryEvaluateListResponse.Message")); queryEvaluateListResponse.setSuccess(_ctx.booleanValue("QueryEvaluateListResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QueryEvaluateListResponse.Data.PageNum")); data.setTotalUnAppliedInvoiceAmount(_ctx.longValue("QueryEvaluateListResponse.Data.TotalUnAppliedInvoiceAmount")); data.setPageSize(_ctx.integerValue("QueryEvaluateListResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QueryEvaluateListResponse.Data.TotalCount")); data.setTotalInvoiceAmount(_ctx.longValue("QueryEvaluateListResponse.Data.TotalInvoiceAmount")); data.setHostId(_ctx.stringValue("QueryEvaluateListResponse.Data.HostId")); List<Evaluate> evaluateList = new ArrayList<Evaluate>(); for (int i = 0; i < _ctx.lengthValue("QueryEvaluateListResponse.Data.EvaluateList.Length"); i++) { Evaluate evaluate = new Evaluate(); evaluate.setType(_ctx.integerValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].Type")); evaluate.setStatus(_ctx.integerValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].Status")); evaluate.setBillId(_ctx.longValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].BillId")); evaluate.setUserId(_ctx.longValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].UserId")); evaluate.setBillCycle(_ctx.stringValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].BillCycle")); evaluate.setCanInvoiceAmount(_ctx.longValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].CanInvoiceAmount")); evaluate.setOffsetAcceptAmount(_ctx.longValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].OffsetAcceptAmount")); evaluate.setItemId(_ctx.longValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].ItemId")); evaluate.setOutBizId(_ctx.stringValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].OutBizId")); evaluate.setUserNick(_ctx.stringValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].UserNick")); evaluate.setGmtModified(_ctx.stringValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].GmtModified")); evaluate.setOpId(_ctx.stringValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].OpId")); evaluate.setBizType(_ctx.stringValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].BizType")); evaluate.setOriginalAmount(_ctx.longValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].OriginalAmount")); evaluate.setInvoicedAmount(_ctx.longValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].InvoicedAmount")); evaluate.setGmtCreate(_ctx.stringValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].GmtCreate")); evaluate.setPresentAmount(_ctx.longValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].PresentAmount")); evaluate.setBizTime(_ctx.stringValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].BizTime")); evaluate.setName(_ctx.stringValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].Name")); evaluate.setOffsetCostAmount(_ctx.longValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].OffsetCostAmount")); evaluate.setId(_ctx.longValue("QueryEvaluateListResponse.Data.EvaluateList["+ i +"].Id")); evaluateList.add(evaluate); } data.setEvaluateList(evaluateList); queryEvaluateListResponse.setData(data); return queryEvaluateListResponse; } }
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/QueryFinancialAccountInfoResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryFinancialAccountInfoResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryFinancialAccountInfoResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class QueryFinancialAccountInfoResponseUnmarshaller { public static QueryFinancialAccountInfoResponse unmarshall(QueryFinancialAccountInfoResponse queryFinancialAccountInfoResponse, UnmarshallerContext _ctx) { queryFinancialAccountInfoResponse.setRequestId(_ctx.stringValue("QueryFinancialAccountInfoResponse.RequestId")); queryFinancialAccountInfoResponse.setCode(_ctx.stringValue("QueryFinancialAccountInfoResponse.Code")); queryFinancialAccountInfoResponse.setMessage(_ctx.stringValue("QueryFinancialAccountInfoResponse.Message")); queryFinancialAccountInfoResponse.setSuccess(_ctx.booleanValue("QueryFinancialAccountInfoResponse.Success")); Data data = new Data(); data.setMemberNickName(_ctx.stringValue("QueryFinancialAccountInfoResponse.Data.MemberNickName")); data.setIsFinancialAccount(_ctx.booleanValue("QueryFinancialAccountInfoResponse.Data.IsFinancialAccount")); data.setMemberGroupName(_ctx.stringValue("QueryFinancialAccountInfoResponse.Data.MemberGroupName")); data.setUserName(_ctx.stringValue("QueryFinancialAccountInfoResponse.Data.UserName")); data.setAccountType(_ctx.stringValue("QueryFinancialAccountInfoResponse.Data.AccountType")); data.setMemberGroupId(_ctx.longValue("QueryFinancialAccountInfoResponse.Data.MemberGroupId")); queryFinancialAccountInfoResponse.setData(data); return queryFinancialAccountInfoResponse; } }
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/QueryInstanceBillResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryInstanceBillResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryInstanceBillResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryInstanceBillResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class QueryInstanceBillResponseUnmarshaller { public static QueryInstanceBillResponse unmarshall(QueryInstanceBillResponse queryInstanceBillResponse, UnmarshallerContext _ctx) { queryInstanceBillResponse.setRequestId(_ctx.stringValue("QueryInstanceBillResponse.RequestId")); queryInstanceBillResponse.setCode(_ctx.stringValue("QueryInstanceBillResponse.Code")); queryInstanceBillResponse.setMessage(_ctx.stringValue("QueryInstanceBillResponse.Message")); queryInstanceBillResponse.setSuccess(_ctx.booleanValue("QueryInstanceBillResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QueryInstanceBillResponse.Data.PageNum")); data.setBillingCycle(_ctx.stringValue("QueryInstanceBillResponse.Data.BillingCycle")); data.setAccountID(_ctx.stringValue("QueryInstanceBillResponse.Data.AccountID")); data.setPageSize(_ctx.integerValue("QueryInstanceBillResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QueryInstanceBillResponse.Data.TotalCount")); data.setAccountName(_ctx.stringValue("QueryInstanceBillResponse.Data.AccountName")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("QueryInstanceBillResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setBillingDate(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].BillingDate")); item.setInstanceConfig(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].InstanceConfig")); item.setInternetIP(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].InternetIP")); item.setItem(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].Item")); item.setTag(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].Tag")); item.setInstanceID(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].InstanceID")); item.setCurrency(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].Currency")); item.setDeductedByCashCoupons(_ctx.floatValue("QueryInstanceBillResponse.Data.Items["+ i +"].DeductedByCashCoupons")); item.setSubscriptionType(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].SubscriptionType")); item.setInstanceSpec(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].InstanceSpec")); item.setDeductedByCoupons(_ctx.floatValue("QueryInstanceBillResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setBillingItem(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].BillingItem")); item.setRegion(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].Region")); item.setOutstandingAmount(_ctx.floatValue("QueryInstanceBillResponse.Data.Items["+ i +"].OutstandingAmount")); item.setCostUnit(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].CostUnit")); item.setListPriceUnit(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].ListPriceUnit")); item.setResourceGroup(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].ResourceGroup")); item.setPipCode(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].PipCode")); item.setServicePeriodUnit(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].ServicePeriodUnit")); item.setPretaxAmount(_ctx.floatValue("QueryInstanceBillResponse.Data.Items["+ i +"].PretaxAmount")); item.setCommodityCode(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].CommodityCode")); item.setProductName(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].ProductName")); item.setAdjustAmount(_ctx.floatValue("QueryInstanceBillResponse.Data.Items["+ i +"].AdjustAmount")); item.setNickName(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].NickName")); item.setProductDetail(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].ProductDetail")); item.setUsage(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].Usage")); item.setIntranetIP(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].IntranetIP")); item.setOwnerID(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].OwnerID")); item.setDeductedByPrepaidCard(_ctx.floatValue("QueryInstanceBillResponse.Data.Items["+ i +"].DeductedByPrepaidCard")); item.setUsageUnit(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].UsageUnit")); item.setPaymentAmount(_ctx.floatValue("QueryInstanceBillResponse.Data.Items["+ i +"].PaymentAmount")); item.setInvoiceDiscount(_ctx.floatValue("QueryInstanceBillResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setDeductedByResourcePackage(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].DeductedByResourcePackage")); item.setProductType(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].ProductType")); item.setServicePeriod(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].ServicePeriod")); item.setZone(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].Zone")); item.setListPrice(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].ListPrice")); item.setPretaxGrossAmount(_ctx.floatValue("QueryInstanceBillResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setCashAmount(_ctx.floatValue("QueryInstanceBillResponse.Data.Items["+ i +"].CashAmount")); item.setProductCode(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].ProductCode")); item.setBillingType(_ctx.stringValue("QueryInstanceBillResponse.Data.Items["+ i +"].BillingType")); items.add(item); } data.setItems(items); queryInstanceBillResponse.setData(data); return queryInstanceBillResponse; } }
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/QueryInstanceByTagResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryInstanceByTagResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryInstanceByTagResponse.TagResourceItem; import com.aliyuncs.bssopenapi.model.v20171214.QueryInstanceByTagResponse.TagResourceItem.TagKeyValue; import com.aliyuncs.transform.UnmarshallerContext; public class QueryInstanceByTagResponseUnmarshaller { public static QueryInstanceByTagResponse unmarshall(QueryInstanceByTagResponse queryInstanceByTagResponse, UnmarshallerContext _ctx) { queryInstanceByTagResponse.setRequestId(_ctx.stringValue("QueryInstanceByTagResponse.RequestId")); queryInstanceByTagResponse.setCode(_ctx.stringValue("QueryInstanceByTagResponse.Code")); queryInstanceByTagResponse.setMessage(_ctx.stringValue("QueryInstanceByTagResponse.Message")); queryInstanceByTagResponse.setNextToken(_ctx.stringValue("QueryInstanceByTagResponse.NextToken")); queryInstanceByTagResponse.setSuccess(_ctx.booleanValue("QueryInstanceByTagResponse.Success")); List<TagResourceItem> tagResource = new ArrayList<TagResourceItem>(); for (int i = 0; i < _ctx.lengthValue("QueryInstanceByTagResponse.TagResource.Length"); i++) { TagResourceItem tagResourceItem = new TagResourceItem(); tagResourceItem.setResourceId(_ctx.stringValue("QueryInstanceByTagResponse.TagResource["+ i +"].ResourceId")); tagResourceItem.setResourceType(_ctx.stringValue("QueryInstanceByTagResponse.TagResource["+ i +"].ResourceType")); List<TagKeyValue> tag = new ArrayList<TagKeyValue>(); for (int j = 0; j < _ctx.lengthValue("QueryInstanceByTagResponse.TagResource["+ i +"].Tag.Length"); j++) { TagKeyValue tagKeyValue = new TagKeyValue(); tagKeyValue.setKey(_ctx.stringValue("QueryInstanceByTagResponse.TagResource["+ i +"].Tag["+ j +"].Key")); tagKeyValue.setValue(_ctx.stringValue("QueryInstanceByTagResponse.TagResource["+ i +"].Tag["+ j +"].Value")); tag.add(tagKeyValue); } tagResourceItem.setTag(tag); tagResource.add(tagResourceItem); } queryInstanceByTagResponse.setTagResource(tagResource); return queryInstanceByTagResponse; } }
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/QueryInstanceGaapCostResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryInstanceGaapCostResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryInstanceGaapCostResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryInstanceGaapCostResponse.Data.Module; import com.aliyuncs.transform.UnmarshallerContext; public class QueryInstanceGaapCostResponseUnmarshaller { public static QueryInstanceGaapCostResponse unmarshall(QueryInstanceGaapCostResponse queryInstanceGaapCostResponse, UnmarshallerContext _ctx) { queryInstanceGaapCostResponse.setRequestId(_ctx.stringValue("QueryInstanceGaapCostResponse.RequestId")); queryInstanceGaapCostResponse.setCode(_ctx.stringValue("QueryInstanceGaapCostResponse.Code")); queryInstanceGaapCostResponse.setMessage(_ctx.stringValue("QueryInstanceGaapCostResponse.Message")); queryInstanceGaapCostResponse.setSuccess(_ctx.booleanValue("QueryInstanceGaapCostResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QueryInstanceGaapCostResponse.Data.PageNum")); data.setPageSize(_ctx.integerValue("QueryInstanceGaapCostResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QueryInstanceGaapCostResponse.Data.TotalCount")); data.setHostId(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.HostId")); List<Module> modules = new ArrayList<Module>(); for (int i = 0; i < _ctx.lengthValue("QueryInstanceGaapCostResponse.Data.Modules.Length"); i++) { Module module = new Module(); module.setGaapDeductedByCashCoupons(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].GaapDeductedByCashCoupons")); module.setSubscriptionType(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].SubscriptionType")); module.setMonthGaapPretaxAmount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].MonthGaapPretaxAmount")); module.setDeductedByCoupons(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].DeductedByCoupons")); module.setSubOrderId(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].SubOrderId")); module.setRegion(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].Region")); module.setOrderType(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].OrderType")); module.setMonthGaapDeductedByPrepaidCard(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].MonthGaapDeductedByPrepaidCard")); module.setUnallocatedDeductedByCashCoupons(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].UnallocatedDeductedByCashCoupons")); module.setPretaxAmountLocal(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].PretaxAmountLocal")); module.setBillingCycle(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].BillingCycle")); module.setPayerAccount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].PayerAccount")); module.setMonthGaapPretaxAmountLocal(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].MonthGaapPretaxAmountLocal")); module.setAccountingUnit(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].AccountingUnit")); module.setGaapPretaxAmountLocal(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].GaapPretaxAmountLocal")); module.setUnallocatedDeductedByPrepaidCard(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].UnallocatedDeductedByPrepaidCard")); module.setProductType(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].ProductType")); module.setPaymentAmount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].PaymentAmount")); module.setMonthGaapPretaxGrossAmount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].MonthGaapPretaxGrossAmount")); module.setBillType(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].BillType")); module.setPayTime(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].PayTime")); module.setPretaxGrossAmount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].PretaxGrossAmount")); module.setOrderId(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].OrderId")); module.setUnallocatedPricingDiscount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].UnallocatedPricingDiscount")); module.setMonthGaapDeductedByCashCoupons(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].MonthGaapDeductedByCashCoupons")); module.setUnallocatedPretaxGrossAmount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].UnallocatedPretaxGrossAmount")); module.setInstanceID(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].InstanceID")); module.setTag(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].Tag")); module.setCurrency(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].Currency")); module.setGaapDeductedByCoupons(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].GaapDeductedByCoupons")); module.setDeductedByCashCoupons(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].DeductedByCashCoupons")); module.setGaapDeductedByPrepaidCard(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].GaapDeductedByPrepaidCard")); module.setGaapPaymentAmount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].GaapPaymentAmount")); module.setUnallocatedPretaxAmountLocal(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].UnallocatedPretaxAmountLocal")); module.setMonthGaapPricingDiscount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].MonthGaapPricingDiscount")); module.setPricingDiscount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].PricingDiscount")); module.setGaapPricingDiscount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].GaapPricingDiscount")); module.setResourceGroup(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].ResourceGroup")); module.setUnallocatedDeductedByCoupons(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].UnallocatedDeductedByCoupons")); module.setPretaxAmount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].PretaxAmount")); module.setUnallocatedPretaxAmount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].UnallocatedPretaxAmount")); module.setGaapPretaxGrossAmount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].GaapPretaxGrossAmount")); module.setUnallocatedPaymentAmount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].UnallocatedPaymentAmount")); module.setPaymentCurrency(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].PaymentCurrency")); module.setOwnerID(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].OwnerID")); module.setDeductedByPrepaidCard(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].DeductedByPrepaidCard")); module.setGaapPretaxAmount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].GaapPretaxAmount")); module.setMonthGaapDeductedByCoupons(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].MonthGaapDeductedByCoupons")); module.setMonthGaapPaymentAmount(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].MonthGaapPaymentAmount")); module.setUsageEndDate(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].UsageEndDate")); module.setUsageStartDate(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].UsageStartDate")); module.setProductCode(_ctx.stringValue("QueryInstanceGaapCostResponse.Data.Modules["+ i +"].ProductCode")); modules.add(module); } data.setModules(modules); queryInstanceGaapCostResponse.setData(data); return queryInstanceGaapCostResponse; } }
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/QueryInvoicingCustomerListResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryInvoicingCustomerListResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryInvoicingCustomerListResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryInvoicingCustomerListResponse.Data.CustomerInvoice; import com.aliyuncs.transform.UnmarshallerContext; public class QueryInvoicingCustomerListResponseUnmarshaller { public static QueryInvoicingCustomerListResponse unmarshall(QueryInvoicingCustomerListResponse queryInvoicingCustomerListResponse, UnmarshallerContext _ctx) { queryInvoicingCustomerListResponse.setRequestId(_ctx.stringValue("QueryInvoicingCustomerListResponse.RequestId")); queryInvoicingCustomerListResponse.setCode(_ctx.stringValue("QueryInvoicingCustomerListResponse.Code")); queryInvoicingCustomerListResponse.setMessage(_ctx.stringValue("QueryInvoicingCustomerListResponse.Message")); queryInvoicingCustomerListResponse.setSuccess(_ctx.booleanValue("QueryInvoicingCustomerListResponse.Success")); Data data = new Data(); List<CustomerInvoice> customerInvoiceList = new ArrayList<CustomerInvoice>(); for (int i = 0; i < _ctx.lengthValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList.Length"); i++) { CustomerInvoice customerInvoice = new CustomerInvoice(); customerInvoice.setType(_ctx.longValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].Type")); customerInvoice.setStatus(_ctx.longValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].Status")); customerInvoice.setAdjustType(_ctx.longValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].AdjustType")); customerInvoice.setBank(_ctx.stringValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].Bank")); customerInvoice.setStartCycle(_ctx.longValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].StartCycle")); customerInvoice.setTitleChangeInstructions(_ctx.stringValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].TitleChangeInstructions")); customerInvoice.setUserId(_ctx.longValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].UserId")); customerInvoice.setOperatingLicenseAddress(_ctx.stringValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].OperatingLicenseAddress")); customerInvoice.setInvoiceTitle(_ctx.stringValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].InvoiceTitle")); customerInvoice.setUserNick(_ctx.stringValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].UserNick")); customerInvoice.setOperatingLicensePhone(_ctx.stringValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].OperatingLicensePhone")); customerInvoice.setEndCycle(_ctx.longValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].EndCycle")); customerInvoice.setDefaultRemark(_ctx.stringValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].DefaultRemark")); customerInvoice.setTaxationLicense(_ctx.stringValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].TaxationLicense")); customerInvoice.setRegisterNo(_ctx.stringValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].RegisterNo")); customerInvoice.setGmtCreate(_ctx.stringValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].GmtCreate")); customerInvoice.setTaxpayerType(_ctx.longValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].TaxpayerType")); customerInvoice.setCustomerType(_ctx.longValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].CustomerType")); customerInvoice.setIssueType(_ctx.longValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].IssueType")); customerInvoice.setId(_ctx.longValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].Id")); customerInvoice.setBankNo(_ctx.stringValue("QueryInvoicingCustomerListResponse.Data.CustomerInvoiceList["+ i +"].BankNo")); customerInvoiceList.add(customerInvoice); } data.setCustomerInvoiceList(customerInvoiceList); queryInvoicingCustomerListResponse.setData(data); return queryInvoicingCustomerListResponse; } }
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/QueryOrdersResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryOrdersResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryOrdersResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryOrdersResponse.Data.Order; import com.aliyuncs.transform.UnmarshallerContext; public class QueryOrdersResponseUnmarshaller { public static QueryOrdersResponse unmarshall(QueryOrdersResponse queryOrdersResponse, UnmarshallerContext _ctx) { queryOrdersResponse.setRequestId(_ctx.stringValue("QueryOrdersResponse.RequestId")); queryOrdersResponse.setCode(_ctx.stringValue("QueryOrdersResponse.Code")); queryOrdersResponse.setMessage(_ctx.stringValue("QueryOrdersResponse.Message")); queryOrdersResponse.setSuccess(_ctx.booleanValue("QueryOrdersResponse.Success")); Data data = new Data(); data.setHostName(_ctx.stringValue("QueryOrdersResponse.Data.HostName")); data.setPageNum(_ctx.integerValue("QueryOrdersResponse.Data.PageNum")); data.setPageSize(_ctx.integerValue("QueryOrdersResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QueryOrdersResponse.Data.TotalCount")); List<Order> orderList = new ArrayList<Order>(); for (int i = 0; i < _ctx.lengthValue("QueryOrdersResponse.Data.OrderList.Length"); i++) { Order order = new Order(); order.setPretaxAmount(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].PretaxAmount")); order.setCommodityCode(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].CommodityCode")); order.setRelatedOrderId(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].RelatedOrderId")); order.setCreateTime(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].CreateTime")); order.setCurrency(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].Currency")); order.setSubscriptionType(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].SubscriptionType")); order.setPaymentCurrency(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].PaymentCurrency")); order.setProductType(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].ProductType")); order.setAfterTaxAmount(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].AfterTaxAmount")); order.setPaymentTime(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].PaymentTime")); order.setPretaxGrossAmount(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].PretaxGrossAmount")); order.setOrderType(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].OrderType")); order.setPaymentStatus(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].PaymentStatus")); order.setOrderId(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].OrderId")); order.setTax(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].Tax")); order.setPretaxAmountLocal(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].PretaxAmountLocal")); order.setProductCode(_ctx.stringValue("QueryOrdersResponse.Data.OrderList["+ i +"].ProductCode")); orderList.add(order); } data.setOrderList(orderList); queryOrdersResponse.setData(data); return queryOrdersResponse; } }
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/QueryPermissionListResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryPermissionListResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryPermissionListResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryPermissionListResponse.Data.PermissionListItem; import com.aliyuncs.transform.UnmarshallerContext; public class QueryPermissionListResponseUnmarshaller { public static QueryPermissionListResponse unmarshall(QueryPermissionListResponse queryPermissionListResponse, UnmarshallerContext _ctx) { queryPermissionListResponse.setRequestId(_ctx.stringValue("QueryPermissionListResponse.RequestId")); queryPermissionListResponse.setCode(_ctx.stringValue("QueryPermissionListResponse.Code")); queryPermissionListResponse.setMessage(_ctx.stringValue("QueryPermissionListResponse.Message")); queryPermissionListResponse.setSuccess(_ctx.booleanValue("QueryPermissionListResponse.Success")); Data data = new Data(); data.setEndTime(_ctx.stringValue("QueryPermissionListResponse.Data.EndTime")); data.setRelationType(_ctx.stringValue("QueryPermissionListResponse.Data.RelationType")); data.setStartTime(_ctx.stringValue("QueryPermissionListResponse.Data.StartTime")); data.setState(_ctx.stringValue("QueryPermissionListResponse.Data.State")); data.setMasterId(_ctx.longValue("QueryPermissionListResponse.Data.MasterId")); data.setMemberId(_ctx.longValue("QueryPermissionListResponse.Data.MemberId")); data.setSetupTime(_ctx.stringValue("QueryPermissionListResponse.Data.SetupTime")); List<PermissionListItem> permissionList = new ArrayList<PermissionListItem>(); for (int i = 0; i < _ctx.lengthValue("QueryPermissionListResponse.Data.PermissionList.Length"); i++) { PermissionListItem permissionListItem = new PermissionListItem(); permissionListItem.setEndTime(_ctx.stringValue("QueryPermissionListResponse.Data.PermissionList["+ i +"].EndTime")); permissionListItem.setStartTime(_ctx.stringValue("QueryPermissionListResponse.Data.PermissionList["+ i +"].StartTime")); permissionListItem.setPermissionCode(_ctx.stringValue("QueryPermissionListResponse.Data.PermissionList["+ i +"].PermissionCode")); permissionListItem.setPermissionName(_ctx.stringValue("QueryPermissionListResponse.Data.PermissionList["+ i +"].PermissionName")); permissionList.add(permissionListItem); } data.setPermissionList(permissionList); queryPermissionListResponse.setData(data); return queryPermissionListResponse; } }
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/QueryPrepaidCardsResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryPrepaidCardsResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryPrepaidCardsResponse.PrepaidCard; import com.aliyuncs.transform.UnmarshallerContext; public class QueryPrepaidCardsResponseUnmarshaller { public static QueryPrepaidCardsResponse unmarshall(QueryPrepaidCardsResponse queryPrepaidCardsResponse, UnmarshallerContext _ctx) { queryPrepaidCardsResponse.setRequestId(_ctx.stringValue("QueryPrepaidCardsResponse.RequestId")); queryPrepaidCardsResponse.setCode(_ctx.stringValue("QueryPrepaidCardsResponse.Code")); queryPrepaidCardsResponse.setMessage(_ctx.stringValue("QueryPrepaidCardsResponse.Message")); queryPrepaidCardsResponse.setSuccess(_ctx.booleanValue("QueryPrepaidCardsResponse.Success")); List<PrepaidCard> data = new ArrayList<PrepaidCard>(); for (int i = 0; i < _ctx.lengthValue("QueryPrepaidCardsResponse.Data.Length"); i++) { PrepaidCard prepaidCard = new PrepaidCard(); prepaidCard.setStatus(_ctx.stringValue("QueryPrepaidCardsResponse.Data["+ i +"].Status")); prepaidCard.setExpiryTime(_ctx.stringValue("QueryPrepaidCardsResponse.Data["+ i +"].ExpiryTime")); prepaidCard.setGrantedTime(_ctx.stringValue("QueryPrepaidCardsResponse.Data["+ i +"].GrantedTime")); prepaidCard.setNominalValue(_ctx.stringValue("QueryPrepaidCardsResponse.Data["+ i +"].NominalValue")); prepaidCard.setEffectiveTime(_ctx.stringValue("QueryPrepaidCardsResponse.Data["+ i +"].EffectiveTime")); prepaidCard.setPrepaidCardNo(_ctx.stringValue("QueryPrepaidCardsResponse.Data["+ i +"].PrepaidCardNo")); prepaidCard.setApplicableScenarios(_ctx.stringValue("QueryPrepaidCardsResponse.Data["+ i +"].ApplicableScenarios")); prepaidCard.setPrepaidCardId(_ctx.longValue("QueryPrepaidCardsResponse.Data["+ i +"].PrepaidCardId")); prepaidCard.setApplicableProducts(_ctx.stringValue("QueryPrepaidCardsResponse.Data["+ i +"].ApplicableProducts")); prepaidCard.setBalance(_ctx.stringValue("QueryPrepaidCardsResponse.Data["+ i +"].Balance")); data.add(prepaidCard); } queryPrepaidCardsResponse.setData(data); return queryPrepaidCardsResponse; } }
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/QueryPriceEntityListResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryPriceEntityListResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryPriceEntityListResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryPriceEntityListResponse.Data.PriceEntityInfoDTO; import com.aliyuncs.bssopenapi.model.v20171214.QueryPriceEntityListResponse.Data.PriceEntityInfoDTO.PriceFactorDTO; import com.aliyuncs.transform.UnmarshallerContext; public class QueryPriceEntityListResponseUnmarshaller { public static QueryPriceEntityListResponse unmarshall(QueryPriceEntityListResponse queryPriceEntityListResponse, UnmarshallerContext _ctx) { queryPriceEntityListResponse.setRequestId(_ctx.stringValue("QueryPriceEntityListResponse.RequestId")); queryPriceEntityListResponse.setCode(_ctx.stringValue("QueryPriceEntityListResponse.Code")); queryPriceEntityListResponse.setMessage(_ctx.stringValue("QueryPriceEntityListResponse.Message")); queryPriceEntityListResponse.setSuccess(_ctx.booleanValue("QueryPriceEntityListResponse.Success")); Data data = new Data(); List<PriceEntityInfoDTO> priceEntityInfoList = new ArrayList<PriceEntityInfoDTO>(); for (int i = 0; i < _ctx.lengthValue("QueryPriceEntityListResponse.Data.PriceEntityInfoList.Length"); i++) { PriceEntityInfoDTO priceEntityInfoDTO = new PriceEntityInfoDTO(); priceEntityInfoDTO.setPriceEntityCode(_ctx.stringValue("QueryPriceEntityListResponse.Data.PriceEntityInfoList["+ i +"].PriceEntityCode")); priceEntityInfoDTO.setPriceEntityName(_ctx.stringValue("QueryPriceEntityListResponse.Data.PriceEntityInfoList["+ i +"].PriceEntityName")); List<PriceFactorDTO> priceFactorList = new ArrayList<PriceFactorDTO>(); for (int j = 0; j < _ctx.lengthValue("QueryPriceEntityListResponse.Data.PriceEntityInfoList["+ i +"].PriceFactorList.Length"); j++) { PriceFactorDTO priceFactorDTO = new PriceFactorDTO(); priceFactorDTO.setPriceFactorCode(_ctx.stringValue("QueryPriceEntityListResponse.Data.PriceEntityInfoList["+ i +"].PriceFactorList["+ j +"].PriceFactorCode")); priceFactorDTO.setPriceFactorName(_ctx.stringValue("QueryPriceEntityListResponse.Data.PriceEntityInfoList["+ i +"].PriceFactorList["+ j +"].PriceFactorName")); List<String> priceFactorValueList = new ArrayList<String>(); for (int k = 0; k < _ctx.lengthValue("QueryPriceEntityListResponse.Data.PriceEntityInfoList["+ i +"].PriceFactorList["+ j +"].PriceFactorValueList.Length"); k++) { priceFactorValueList.add(_ctx.stringValue("QueryPriceEntityListResponse.Data.PriceEntityInfoList["+ i +"].PriceFactorList["+ j +"].PriceFactorValueList["+ k +"]")); } priceFactorDTO.setPriceFactorValueList(priceFactorValueList); priceFactorList.add(priceFactorDTO); } priceEntityInfoDTO.setPriceFactorList(priceFactorList); priceEntityInfoList.add(priceEntityInfoDTO); } data.setPriceEntityInfoList(priceEntityInfoList); queryPriceEntityListResponse.setData(data); return queryPriceEntityListResponse; } }
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/QueryProductListResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryProductListResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryProductListResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryProductListResponse.Data.Product; import com.aliyuncs.transform.UnmarshallerContext; public class QueryProductListResponseUnmarshaller { public static QueryProductListResponse unmarshall(QueryProductListResponse queryProductListResponse, UnmarshallerContext _ctx) { queryProductListResponse.setRequestId(_ctx.stringValue("QueryProductListResponse.RequestId")); queryProductListResponse.setCode(_ctx.stringValue("QueryProductListResponse.Code")); queryProductListResponse.setMessage(_ctx.stringValue("QueryProductListResponse.Message")); queryProductListResponse.setSuccess(_ctx.booleanValue("QueryProductListResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QueryProductListResponse.Data.PageNum")); data.setPageSize(_ctx.integerValue("QueryProductListResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QueryProductListResponse.Data.TotalCount")); List<Product> productList = new ArrayList<Product>(); for (int i = 0; i < _ctx.lengthValue("QueryProductListResponse.Data.ProductList.Length"); i++) { Product product = new Product(); product.setProductName(_ctx.stringValue("QueryProductListResponse.Data.ProductList["+ i +"].ProductName")); product.setProductType(_ctx.stringValue("QueryProductListResponse.Data.ProductList["+ i +"].ProductType")); product.setSubscriptionType(_ctx.stringValue("QueryProductListResponse.Data.ProductList["+ i +"].SubscriptionType")); product.setProductCode(_ctx.stringValue("QueryProductListResponse.Data.ProductList["+ i +"].ProductCode")); productList.add(product); } data.setProductList(productList); queryProductListResponse.setData(data); return queryProductListResponse; } }
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/QueryRIUtilizationDetailResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryRIUtilizationDetailResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryRIUtilizationDetailResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryRIUtilizationDetailResponse.Data.DetailListItem; import com.aliyuncs.transform.UnmarshallerContext; public class QueryRIUtilizationDetailResponseUnmarshaller { public static QueryRIUtilizationDetailResponse unmarshall(QueryRIUtilizationDetailResponse queryRIUtilizationDetailResponse, UnmarshallerContext _ctx) { queryRIUtilizationDetailResponse.setRequestId(_ctx.stringValue("QueryRIUtilizationDetailResponse.RequestId")); queryRIUtilizationDetailResponse.setCode(_ctx.stringValue("QueryRIUtilizationDetailResponse.Code")); queryRIUtilizationDetailResponse.setMessage(_ctx.stringValue("QueryRIUtilizationDetailResponse.Message")); queryRIUtilizationDetailResponse.setSuccess(_ctx.booleanValue("QueryRIUtilizationDetailResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.longValue("QueryRIUtilizationDetailResponse.Data.PageNum")); data.setPageSize(_ctx.longValue("QueryRIUtilizationDetailResponse.Data.PageSize")); data.setTotalCount(_ctx.longValue("QueryRIUtilizationDetailResponse.Data.TotalCount")); List<DetailListItem> detailList = new ArrayList<DetailListItem>(); for (int i = 0; i < _ctx.lengthValue("QueryRIUtilizationDetailResponse.Data.DetailList.Length"); i++) { DetailListItem detailListItem = new DetailListItem(); detailListItem.setDeductedCommodityCode(_ctx.stringValue("QueryRIUtilizationDetailResponse.Data.DetailList["+ i +"].DeductedCommodityCode")); detailListItem.setDeductedProductDetail(_ctx.stringValue("QueryRIUtilizationDetailResponse.Data.DetailList["+ i +"].DeductedProductDetail")); detailListItem.setDeductedInstanceId(_ctx.stringValue("QueryRIUtilizationDetailResponse.Data.DetailList["+ i +"].DeductedInstanceId")); detailListItem.setDeductFactorTotal(_ctx.floatValue("QueryRIUtilizationDetailResponse.Data.DetailList["+ i +"].DeductFactorTotal")); detailListItem.setDeductQuantity(_ctx.floatValue("QueryRIUtilizationDetailResponse.Data.DetailList["+ i +"].DeductQuantity")); detailListItem.setDeductHours(_ctx.stringValue("QueryRIUtilizationDetailResponse.Data.DetailList["+ i +"].DeductHours")); detailListItem.setDeductDate(_ctx.stringValue("QueryRIUtilizationDetailResponse.Data.DetailList["+ i +"].DeductDate")); detailListItem.setRIInstanceId(_ctx.stringValue("QueryRIUtilizationDetailResponse.Data.DetailList["+ i +"].RIInstanceId")); detailListItem.setInstanceSpec(_ctx.stringValue("QueryRIUtilizationDetailResponse.Data.DetailList["+ i +"].InstanceSpec")); detailList.add(detailListItem); } data.setDetailList(detailList); queryRIUtilizationDetailResponse.setData(data); return queryRIUtilizationDetailResponse; } }
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/QueryRedeemResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryRedeemResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryRedeemResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryRedeemResponse.Data.RedeemItem; import com.aliyuncs.transform.UnmarshallerContext; public class QueryRedeemResponseUnmarshaller { public static QueryRedeemResponse unmarshall(QueryRedeemResponse queryRedeemResponse, UnmarshallerContext _ctx) { queryRedeemResponse.setRequestId(_ctx.stringValue("QueryRedeemResponse.RequestId")); queryRedeemResponse.setCode(_ctx.stringValue("QueryRedeemResponse.Code")); queryRedeemResponse.setMessage(_ctx.stringValue("QueryRedeemResponse.Message")); queryRedeemResponse.setSuccess(_ctx.booleanValue("QueryRedeemResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.longValue("QueryRedeemResponse.Data.PageNum")); data.setPageSize(_ctx.longValue("QueryRedeemResponse.Data.PageSize")); data.setTotalCount(_ctx.longValue("QueryRedeemResponse.Data.TotalCount")); List<RedeemItem> redeem = new ArrayList<RedeemItem>(); for (int i = 0; i < _ctx.lengthValue("QueryRedeemResponse.Data.Redeem.Length"); i++) { RedeemItem redeemItem = new RedeemItem(); redeemItem.setExpiryTime(_ctx.stringValue("QueryRedeemResponse.Data.Redeem["+ i +"].ExpiryTime")); redeemItem.setGrantedTime(_ctx.stringValue("QueryRedeemResponse.Data.Redeem["+ i +"].GrantedTime")); redeemItem.setStatus(_ctx.stringValue("QueryRedeemResponse.Data.Redeem["+ i +"].Status")); redeemItem.setSpecification(_ctx.stringValue("QueryRedeemResponse.Data.Redeem["+ i +"].Specification")); redeemItem.setNominalValue(_ctx.stringValue("QueryRedeemResponse.Data.Redeem["+ i +"].NominalValue")); redeemItem.setEffectiveTime(_ctx.stringValue("QueryRedeemResponse.Data.Redeem["+ i +"].EffectiveTime")); redeemItem.setRedeemId(_ctx.stringValue("QueryRedeemResponse.Data.Redeem["+ i +"].RedeemId")); redeemItem.setRedeemNo(_ctx.stringValue("QueryRedeemResponse.Data.Redeem["+ i +"].RedeemNo")); redeemItem.setApplicableProducts(_ctx.stringValue("QueryRedeemResponse.Data.Redeem["+ i +"].ApplicableProducts")); redeemItem.setBalance(_ctx.stringValue("QueryRedeemResponse.Data.Redeem["+ i +"].Balance")); redeem.add(redeemItem); } data.setRedeem(redeem); queryRedeemResponse.setData(data); return queryRedeemResponse; } }
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/QueryRelationListResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryRelationListResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryRelationListResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryRelationListResponse.Data.FinancialRelationInfoListItem; import com.aliyuncs.transform.UnmarshallerContext; public class QueryRelationListResponseUnmarshaller { public static QueryRelationListResponse unmarshall(QueryRelationListResponse queryRelationListResponse, UnmarshallerContext _ctx) { queryRelationListResponse.setRequestId(_ctx.stringValue("QueryRelationListResponse.RequestId")); queryRelationListResponse.setCode(_ctx.stringValue("QueryRelationListResponse.Code")); queryRelationListResponse.setMessage(_ctx.stringValue("QueryRelationListResponse.Message")); queryRelationListResponse.setSuccess(_ctx.booleanValue("QueryRelationListResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QueryRelationListResponse.Data.PageNum")); data.setPageSize(_ctx.integerValue("QueryRelationListResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QueryRelationListResponse.Data.TotalCount")); List<FinancialRelationInfoListItem> financialRelationInfoList = new ArrayList<FinancialRelationInfoListItem>(); for (int i = 0; i < _ctx.lengthValue("QueryRelationListResponse.Data.FinancialRelationInfoList.Length"); i++) { FinancialRelationInfoListItem financialRelationInfoListItem = new FinancialRelationInfoListItem(); financialRelationInfoListItem.setEndTime(_ctx.stringValue("QueryRelationListResponse.Data.FinancialRelationInfoList["+ i +"].EndTime")); financialRelationInfoListItem.setRelationType(_ctx.stringValue("QueryRelationListResponse.Data.FinancialRelationInfoList["+ i +"].RelationType")); financialRelationInfoListItem.setAccountNickName(_ctx.stringValue("QueryRelationListResponse.Data.FinancialRelationInfoList["+ i +"].AccountNickName")); financialRelationInfoListItem.setStartTime(_ctx.stringValue("QueryRelationListResponse.Data.FinancialRelationInfoList["+ i +"].StartTime")); financialRelationInfoListItem.setState(_ctx.stringValue("QueryRelationListResponse.Data.FinancialRelationInfoList["+ i +"].State")); financialRelationInfoListItem.setAccountId(_ctx.longValue("QueryRelationListResponse.Data.FinancialRelationInfoList["+ i +"].AccountId")); financialRelationInfoListItem.setSetupTime(_ctx.stringValue("QueryRelationListResponse.Data.FinancialRelationInfoList["+ i +"].SetupTime")); financialRelationInfoListItem.setAccountType(_ctx.stringValue("QueryRelationListResponse.Data.FinancialRelationInfoList["+ i +"].AccountType")); financialRelationInfoListItem.setAccountName(_ctx.stringValue("QueryRelationListResponse.Data.FinancialRelationInfoList["+ i +"].AccountName")); financialRelationInfoListItem.setRelationId(_ctx.longValue("QueryRelationListResponse.Data.FinancialRelationInfoList["+ i +"].RelationId")); financialRelationInfoList.add(financialRelationInfoListItem); } data.setFinancialRelationInfoList(financialRelationInfoList); queryRelationListResponse.setData(data); return queryRelationListResponse; } }
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/QueryResellerAvailableQuotaResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryResellerAvailableQuotaResponse; import com.aliyuncs.transform.UnmarshallerContext; public class QueryResellerAvailableQuotaResponseUnmarshaller { public static QueryResellerAvailableQuotaResponse unmarshall(QueryResellerAvailableQuotaResponse queryResellerAvailableQuotaResponse, UnmarshallerContext _ctx) { queryResellerAvailableQuotaResponse.setRequestId(_ctx.stringValue("QueryResellerAvailableQuotaResponse.RequestId")); queryResellerAvailableQuotaResponse.setCode(_ctx.stringValue("QueryResellerAvailableQuotaResponse.Code")); queryResellerAvailableQuotaResponse.setMessage(_ctx.stringValue("QueryResellerAvailableQuotaResponse.Message")); queryResellerAvailableQuotaResponse.setData(_ctx.stringValue("QueryResellerAvailableQuotaResponse.Data")); queryResellerAvailableQuotaResponse.setSuccess(_ctx.booleanValue("QueryResellerAvailableQuotaResponse.Success")); return queryResellerAvailableQuotaResponse; } }
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/QueryResellerUserAlarmThresholdResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryResellerUserAlarmThresholdResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryResellerUserAlarmThresholdResponse.DataItem; import com.aliyuncs.transform.UnmarshallerContext; public class QueryResellerUserAlarmThresholdResponseUnmarshaller { public static QueryResellerUserAlarmThresholdResponse unmarshall(QueryResellerUserAlarmThresholdResponse queryResellerUserAlarmThresholdResponse, UnmarshallerContext _ctx) { queryResellerUserAlarmThresholdResponse.setRequestId(_ctx.stringValue("QueryResellerUserAlarmThresholdResponse.RequestId")); queryResellerUserAlarmThresholdResponse.setCount(_ctx.integerValue("QueryResellerUserAlarmThresholdResponse.Count")); queryResellerUserAlarmThresholdResponse.setSuccess(_ctx.booleanValue("QueryResellerUserAlarmThresholdResponse.Success")); queryResellerUserAlarmThresholdResponse.setCode(_ctx.stringValue("QueryResellerUserAlarmThresholdResponse.Code")); queryResellerUserAlarmThresholdResponse.setMessage(_ctx.stringValue("QueryResellerUserAlarmThresholdResponse.Message")); List<DataItem> data = new ArrayList<DataItem>(); for (int i = 0; i < _ctx.lengthValue("QueryResellerUserAlarmThresholdResponse.Data.Length"); i++) { DataItem dataItem = new DataItem(); dataItem.setThresholdType(_ctx.integerValue("QueryResellerUserAlarmThresholdResponse.Data["+ i +"].ThresholdType")); dataItem.setThresholdAmount(_ctx.stringValue("QueryResellerUserAlarmThresholdResponse.Data["+ i +"].ThresholdAmount")); dataItem.setNumerator(_ctx.integerValue("QueryResellerUserAlarmThresholdResponse.Data["+ i +"].Numerator")); dataItem.setDenominator(_ctx.integerValue("QueryResellerUserAlarmThresholdResponse.Data["+ i +"].Denominator")); data.add(dataItem); } queryResellerUserAlarmThresholdResponse.setData(data); return queryResellerUserAlarmThresholdResponse; } }
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/QueryResourcePackageInstancesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryResourcePackageInstancesResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryResourcePackageInstancesResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QueryResourcePackageInstancesResponse.Data.Instance; import com.aliyuncs.transform.UnmarshallerContext; public class QueryResourcePackageInstancesResponseUnmarshaller { public static QueryResourcePackageInstancesResponse unmarshall(QueryResourcePackageInstancesResponse queryResourcePackageInstancesResponse, UnmarshallerContext _ctx) { queryResourcePackageInstancesResponse.setRequestId(_ctx.stringValue("QueryResourcePackageInstancesResponse.RequestId")); queryResourcePackageInstancesResponse.setSuccess(_ctx.booleanValue("QueryResourcePackageInstancesResponse.Success")); queryResourcePackageInstancesResponse.setCode(_ctx.stringValue("QueryResourcePackageInstancesResponse.Code")); queryResourcePackageInstancesResponse.setMessage(_ctx.stringValue("QueryResourcePackageInstancesResponse.Message")); queryResourcePackageInstancesResponse.setPageSize(_ctx.integerValue("QueryResourcePackageInstancesResponse.PageSize")); queryResourcePackageInstancesResponse.setTotal(_ctx.integerValue("QueryResourcePackageInstancesResponse.Total")); queryResourcePackageInstancesResponse.setPage(_ctx.integerValue("QueryResourcePackageInstancesResponse.Page")); Data data = new Data(); data.setPageNum(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.PageNum")); data.setPageSize(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.PageSize")); data.setTotalCount(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.TotalCount")); data.setHostId(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.HostId")); List<Instance> instances = new ArrayList<Instance>(); for (int i = 0; i < _ctx.lengthValue("QueryResourcePackageInstancesResponse.Data.Instances.Length"); i++) { Instance instance = new Instance(); instance.setExpiryTime(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].ExpiryTime")); instance.setStatus(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].Status")); instance.setRemark(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].Remark")); instance.setRemainingAmountUnit(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].RemainingAmountUnit")); instance.setInstanceId(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].InstanceId")); instance.setPackageType(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].PackageType")); instance.setEffectiveTime(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].EffectiveTime")); instance.setRegion(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].Region")); instance.setTotalAmount(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].TotalAmount")); instance.setDeductType(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].DeductType")); instance.setTotalAmountUnit(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].TotalAmountUnit")); instance.setRemainingAmount(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].RemainingAmount")); instance.setCommodityCode(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].CommodityCode")); List<String> applicableProducts = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].ApplicableProducts.Length"); j++) { applicableProducts.add(_ctx.stringValue("QueryResourcePackageInstancesResponse.Data.Instances["+ i +"].ApplicableProducts["+ j +"]")); } instance.setApplicableProducts(applicableProducts); instances.add(instance); } data.setInstances(instances); queryResourcePackageInstancesResponse.setData(data); return queryResourcePackageInstancesResponse; } }
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/QuerySavingsPlansDeductLogResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QuerySavingsPlansDeductLogResponse; import com.aliyuncs.bssopenapi.model.v20171214.QuerySavingsPlansDeductLogResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QuerySavingsPlansDeductLogResponse.Data.SavingsPlansDeductDetailResponse; import com.aliyuncs.transform.UnmarshallerContext; public class QuerySavingsPlansDeductLogResponseUnmarshaller { public static QuerySavingsPlansDeductLogResponse unmarshall(QuerySavingsPlansDeductLogResponse querySavingsPlansDeductLogResponse, UnmarshallerContext _ctx) { querySavingsPlansDeductLogResponse.setRequestId(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.RequestId")); querySavingsPlansDeductLogResponse.setCode(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Code")); querySavingsPlansDeductLogResponse.setMessage(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Message")); querySavingsPlansDeductLogResponse.setSuccess(_ctx.booleanValue("QuerySavingsPlansDeductLogResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QuerySavingsPlansDeductLogResponse.Data.PageNum")); data.setPageSize(_ctx.integerValue("QuerySavingsPlansDeductLogResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QuerySavingsPlansDeductLogResponse.Data.TotalCount")); List<SavingsPlansDeductDetailResponse> items = new ArrayList<SavingsPlansDeductDetailResponse>(); for (int i = 0; i < _ctx.lengthValue("QuerySavingsPlansDeductLogResponse.Data.Items.Length"); i++) { SavingsPlansDeductDetailResponse savingsPlansDeductDetailResponse = new SavingsPlansDeductDetailResponse(); savingsPlansDeductDetailResponse.setEndTime(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].EndTime")); savingsPlansDeductDetailResponse.setStartTime(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].StartTime")); savingsPlansDeductDetailResponse.setSavingsType(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].SavingsType")); savingsPlansDeductDetailResponse.setUserId(_ctx.longValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].UserId")); savingsPlansDeductDetailResponse.setDiscountRate(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].DiscountRate")); savingsPlansDeductDetailResponse.setBillModule(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].BillModule")); savingsPlansDeductDetailResponse.setInstanceId(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].InstanceId")); savingsPlansDeductDetailResponse.setDeductInstanceId(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].DeductInstanceId")); savingsPlansDeductDetailResponse.setDeductCommodity(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].DeductCommodity")); savingsPlansDeductDetailResponse.setDeductRate(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].DeductRate")); savingsPlansDeductDetailResponse.setDeductFee(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].DeductFee")); savingsPlansDeductDetailResponse.setOwnerId(_ctx.longValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].OwnerId")); savingsPlansDeductDetailResponse.setBillingCycle(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].BillingCycle")); savingsPlansDeductDetailResponse.setRegion(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].Region")); savingsPlansDeductDetailResponse.setInstanceSpec(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].InstanceSpec")); savingsPlansDeductDetailResponse.setInstanceTypeFamily(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].InstanceTypeFamily")); savingsPlansDeductDetailResponse.setBillingOfficialPrice(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].BillingOfficialPrice")); savingsPlansDeductDetailResponse.setDeductedOfficialPrice(_ctx.stringValue("QuerySavingsPlansDeductLogResponse.Data.Items["+ i +"].DeductedOfficialPrice")); items.add(savingsPlansDeductDetailResponse); } data.setItems(items); querySavingsPlansDeductLogResponse.setData(data); return querySavingsPlansDeductLogResponse; } }
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/QuerySavingsPlansDiscountResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QuerySavingsPlansDiscountResponse; import com.aliyuncs.bssopenapi.model.v20171214.QuerySavingsPlansDiscountResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QuerySavingsPlansDiscountResponse.Data.SavingsPlansDiscountResponse; import com.aliyuncs.transform.UnmarshallerContext; public class QuerySavingsPlansDiscountResponseUnmarshaller { public static QuerySavingsPlansDiscountResponse unmarshall(QuerySavingsPlansDiscountResponse querySavingsPlansDiscountResponse, UnmarshallerContext _ctx) { querySavingsPlansDiscountResponse.setRequestId(_ctx.stringValue("QuerySavingsPlansDiscountResponse.RequestId")); querySavingsPlansDiscountResponse.setMessage(_ctx.stringValue("QuerySavingsPlansDiscountResponse.Message")); querySavingsPlansDiscountResponse.setCode(_ctx.stringValue("QuerySavingsPlansDiscountResponse.Code")); querySavingsPlansDiscountResponse.setSuccess(_ctx.booleanValue("QuerySavingsPlansDiscountResponse.Success")); Data data = new Data(); data.setHostId(_ctx.stringValue("QuerySavingsPlansDiscountResponse.Data.HostId")); List<SavingsPlansDiscountResponse> items = new ArrayList<SavingsPlansDiscountResponse>(); for (int i = 0; i < _ctx.lengthValue("QuerySavingsPlansDiscountResponse.Data.Items.Length"); i++) { SavingsPlansDiscountResponse savingsPlansDiscountResponse = new SavingsPlansDiscountResponse(); savingsPlansDiscountResponse.setCommodityName(_ctx.stringValue("QuerySavingsPlansDiscountResponse.Data.Items["+ i +"].CommodityName")); savingsPlansDiscountResponse.setModuleName(_ctx.stringValue("QuerySavingsPlansDiscountResponse.Data.Items["+ i +"].ModuleName")); savingsPlansDiscountResponse.setSpnType(_ctx.stringValue("QuerySavingsPlansDiscountResponse.Data.Items["+ i +"].SpnType")); savingsPlansDiscountResponse.setPayMode(_ctx.stringValue("QuerySavingsPlansDiscountResponse.Data.Items["+ i +"].PayMode")); savingsPlansDiscountResponse.setCycle(_ctx.stringValue("QuerySavingsPlansDiscountResponse.Data.Items["+ i +"].Cycle")); savingsPlansDiscountResponse.setRegion(_ctx.stringValue("QuerySavingsPlansDiscountResponse.Data.Items["+ i +"].Region")); savingsPlansDiscountResponse.setRegionCode(_ctx.stringValue("QuerySavingsPlansDiscountResponse.Data.Items["+ i +"].RegionCode")); savingsPlansDiscountResponse.setSpec(_ctx.stringValue("QuerySavingsPlansDiscountResponse.Data.Items["+ i +"].Spec")); savingsPlansDiscountResponse.setDiscountRate(_ctx.stringValue("QuerySavingsPlansDiscountResponse.Data.Items["+ i +"].DiscountRate")); savingsPlansDiscountResponse.setContractDiscountRate(_ctx.stringValue("QuerySavingsPlansDiscountResponse.Data.Items["+ i +"].ContractDiscountRate")); items.add(savingsPlansDiscountResponse); } data.setItems(items); querySavingsPlansDiscountResponse.setData(data); return querySavingsPlansDiscountResponse; } }
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/QuerySavingsPlansInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QuerySavingsPlansInstanceResponse; import com.aliyuncs.bssopenapi.model.v20171214.QuerySavingsPlansInstanceResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QuerySavingsPlansInstanceResponse.Data.SavingsPlansDetailResponse; import com.aliyuncs.bssopenapi.model.v20171214.QuerySavingsPlansInstanceResponse.Data.SavingsPlansDetailResponse.Tag; import com.aliyuncs.transform.UnmarshallerContext; public class QuerySavingsPlansInstanceResponseUnmarshaller { public static QuerySavingsPlansInstanceResponse unmarshall(QuerySavingsPlansInstanceResponse querySavingsPlansInstanceResponse, UnmarshallerContext _ctx) { querySavingsPlansInstanceResponse.setRequestId(_ctx.stringValue("QuerySavingsPlansInstanceResponse.RequestId")); querySavingsPlansInstanceResponse.setCode(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Code")); querySavingsPlansInstanceResponse.setMessage(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Message")); querySavingsPlansInstanceResponse.setSuccess(_ctx.booleanValue("QuerySavingsPlansInstanceResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QuerySavingsPlansInstanceResponse.Data.PageNum")); data.setPageSize(_ctx.integerValue("QuerySavingsPlansInstanceResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QuerySavingsPlansInstanceResponse.Data.TotalCount")); List<SavingsPlansDetailResponse> items = new ArrayList<SavingsPlansDetailResponse>(); for (int i = 0; i < _ctx.lengthValue("QuerySavingsPlansInstanceResponse.Data.Items.Length"); i++) { SavingsPlansDetailResponse savingsPlansDetailResponse = new SavingsPlansDetailResponse(); savingsPlansDetailResponse.setStatus(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].Status")); savingsPlansDetailResponse.setCycle(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].Cycle")); savingsPlansDetailResponse.setStartTimestamp(_ctx.longValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].StartTimestamp")); savingsPlansDetailResponse.setSavingsType(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].SavingsType")); savingsPlansDetailResponse.setUtilization(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].Utilization")); savingsPlansDetailResponse.setPrepayFee(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].PrepayFee")); savingsPlansDetailResponse.setInstanceId(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].InstanceId")); savingsPlansDetailResponse.setCurrency(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].Currency")); savingsPlansDetailResponse.setEndTimestamp(_ctx.longValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].EndTimestamp")); savingsPlansDetailResponse.setEndTime(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].EndTime")); savingsPlansDetailResponse.setStartTime(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].StartTime")); savingsPlansDetailResponse.setAllocationStatus(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].AllocationStatus")); savingsPlansDetailResponse.setInstanceFamily(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].InstanceFamily")); savingsPlansDetailResponse.setRegion(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].Region")); savingsPlansDetailResponse.setLastBillTotalUsage(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].LastBillTotalUsage")); savingsPlansDetailResponse.setLastBillUtilization(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].LastBillUtilization")); savingsPlansDetailResponse.setTotalSave(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].TotalSave")); savingsPlansDetailResponse.setPoolValue(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].PoolValue")); savingsPlansDetailResponse.setPayMode(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].PayMode")); savingsPlansDetailResponse.setDeductCycleType(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].DeductCycleType")); savingsPlansDetailResponse.setRestPoolValue(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].RestPoolValue")); savingsPlansDetailResponse.setCommodityCode(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].CommodityCode")); savingsPlansDetailResponse.setCurrentPoolValue(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].CurrentPoolValue")); List<Tag> tags = new ArrayList<Tag>(); for (int j = 0; j < _ctx.lengthValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].Tags.Length"); j++) { Tag tag = new Tag(); tag.setKey(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].Tags["+ j +"].Key")); tag.setValue(_ctx.stringValue("QuerySavingsPlansInstanceResponse.Data.Items["+ i +"].Tags["+ j +"].Value")); tags.add(tag); } savingsPlansDetailResponse.setTags(tags); items.add(savingsPlansDetailResponse); } data.setItems(items); querySavingsPlansInstanceResponse.setData(data); return querySavingsPlansInstanceResponse; } }
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/QuerySettleBillResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QuerySettleBillResponse; import com.aliyuncs.bssopenapi.model.v20171214.QuerySettleBillResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QuerySettleBillResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class QuerySettleBillResponseUnmarshaller { public static QuerySettleBillResponse unmarshall(QuerySettleBillResponse querySettleBillResponse, UnmarshallerContext _ctx) { querySettleBillResponse.setRequestId(_ctx.stringValue("QuerySettleBillResponse.RequestId")); querySettleBillResponse.setCode(_ctx.stringValue("QuerySettleBillResponse.Code")); querySettleBillResponse.setMessage(_ctx.stringValue("QuerySettleBillResponse.Message")); querySettleBillResponse.setSuccess(_ctx.booleanValue("QuerySettleBillResponse.Success")); Data data = new Data(); data.setNextToken(_ctx.stringValue("QuerySettleBillResponse.Data.NextToken")); data.setBillingCycle(_ctx.stringValue("QuerySettleBillResponse.Data.BillingCycle")); data.setMaxResults(_ctx.integerValue("QuerySettleBillResponse.Data.MaxResults")); data.setAccountID(_ctx.stringValue("QuerySettleBillResponse.Data.AccountID")); data.setTotalCount(_ctx.integerValue("QuerySettleBillResponse.Data.TotalCount")); data.setAccountName(_ctx.stringValue("QuerySettleBillResponse.Data.AccountName")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("QuerySettleBillResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setStatus(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].Status")); item.setRoundDownDiscount(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].RoundDownDiscount")); item.setItem(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].Item")); item.setCurrency(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].Currency")); item.setBillAccountName(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].BillAccountName")); item.setDeductedByCashCoupons(_ctx.floatValue("QuerySettleBillResponse.Data.Items["+ i +"].DeductedByCashCoupons")); item.setSubscriptionType(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].SubscriptionType")); item.setUsageStartTime(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].UsageStartTime")); item.setBizType(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].BizType")); item.setUsageEndTime(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].UsageEndTime")); item.setDeductedByCoupons(_ctx.floatValue("QuerySettleBillResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setSubOrderId(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].SubOrderId")); item.setAfterTaxAmount(_ctx.floatValue("QuerySettleBillResponse.Data.Items["+ i +"].AfterTaxAmount")); item.setOutstandingAmount(_ctx.floatValue("QuerySettleBillResponse.Data.Items["+ i +"].OutstandingAmount")); item.setPaymentTime(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].PaymentTime")); item.setTax(_ctx.floatValue("QuerySettleBillResponse.Data.Items["+ i +"].Tax")); item.setPretaxAmountLocal(_ctx.floatValue("QuerySettleBillResponse.Data.Items["+ i +"].PretaxAmountLocal")); item.setPipCode(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].PipCode")); item.setPaymentTransactionID(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].PaymentTransactionID")); item.setPretaxAmount(_ctx.floatValue("QuerySettleBillResponse.Data.Items["+ i +"].PretaxAmount")); item.setCommodityCode(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].CommodityCode")); item.setProductName(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].ProductName")); item.setRecordID(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].RecordID")); item.setAdjustAmount(_ctx.floatValue("QuerySettleBillResponse.Data.Items["+ i +"].AdjustAmount")); item.setProductDetail(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].ProductDetail")); item.setPaymentCurrency(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].PaymentCurrency")); item.setOwnerID(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].OwnerID")); item.setDeductedByPrepaidCard(_ctx.floatValue("QuerySettleBillResponse.Data.Items["+ i +"].DeductedByPrepaidCard")); item.setBillAccountID(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].BillAccountID")); item.setPaymentAmount(_ctx.floatValue("QuerySettleBillResponse.Data.Items["+ i +"].PaymentAmount")); item.setInvoiceDiscount(_ctx.floatValue("QuerySettleBillResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setProductType(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].ProductType")); item.setPretaxGrossAmount(_ctx.floatValue("QuerySettleBillResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setCashAmount(_ctx.floatValue("QuerySettleBillResponse.Data.Items["+ i +"].CashAmount")); item.setProductCode(_ctx.stringValue("QuerySettleBillResponse.Data.Items["+ i +"].ProductCode")); items.add(item); } data.setItems(items); querySettleBillResponse.setData(data); return querySettleBillResponse; } }
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/QuerySkuPriceListResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QuerySkuPriceListResponse; import com.aliyuncs.bssopenapi.model.v20171214.QuerySkuPriceListResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QuerySkuPriceListResponse.Data.SkuPricePage; import com.aliyuncs.bssopenapi.model.v20171214.QuerySkuPriceListResponse.Data.SkuPricePage.SkuPricePageDTO; import com.aliyuncs.bssopenapi.model.v20171214.QuerySkuPriceListResponse.Data.SkuPricePage.SkuPricePageDTO.CSkuPriceDTO; import com.aliyuncs.bssopenapi.model.v20171214.QuerySkuPriceListResponse.Data.SkuPricePage.SkuPricePageDTO.CSkuPriceDTO.RangeDTO; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class QuerySkuPriceListResponseUnmarshaller { public static QuerySkuPriceListResponse unmarshall(QuerySkuPriceListResponse querySkuPriceListResponse, UnmarshallerContext _ctx) { querySkuPriceListResponse.setRequestId(_ctx.stringValue("QuerySkuPriceListResponse.RequestId")); querySkuPriceListResponse.setCode(_ctx.stringValue("QuerySkuPriceListResponse.Code")); querySkuPriceListResponse.setMessage(_ctx.stringValue("QuerySkuPriceListResponse.Message")); querySkuPriceListResponse.setSuccess(_ctx.booleanValue("QuerySkuPriceListResponse.Success")); Data data = new Data(); SkuPricePage skuPricePage = new SkuPricePage(); skuPricePage.setTotalCount(_ctx.integerValue("QuerySkuPriceListResponse.Data.SkuPricePage.TotalCount")); skuPricePage.setNextPageToken(_ctx.stringValue("QuerySkuPriceListResponse.Data.SkuPricePage.NextPageToken")); List<SkuPricePageDTO> skuPriceList = new ArrayList<SkuPricePageDTO>(); for (int i = 0; i < _ctx.lengthValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList.Length"); i++) { SkuPricePageDTO skuPricePageDTO = new SkuPricePageDTO(); skuPricePageDTO.setSkuCode(_ctx.stringValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].SkuCode")); skuPricePageDTO.setSkuFactorMap(_ctx.mapValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].SkuFactorMap")); List<CSkuPriceDTO> cskuPriceList = new ArrayList<CSkuPriceDTO>(); for (int j = 0; j < _ctx.lengthValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].CskuPriceList.Length"); j++) { CSkuPriceDTO cSkuPriceDTO = new CSkuPriceDTO(); cSkuPriceDTO.setCskuCode(_ctx.stringValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].CskuPriceList["+ j +"].CskuCode")); cSkuPriceDTO.setCurrency(_ctx.stringValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].CskuPriceList["+ j +"].Currency")); cSkuPriceDTO.setUsageUnit(_ctx.stringValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].CskuPriceList["+ j +"].UsageUnit")); cSkuPriceDTO.setPriceType(_ctx.stringValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].CskuPriceList["+ j +"].PriceType")); cSkuPriceDTO.setPriceMode(_ctx.stringValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].CskuPriceList["+ j +"].PriceMode")); cSkuPriceDTO.setPrice(_ctx.stringValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].CskuPriceList["+ j +"].Price")); cSkuPriceDTO.setPriceUnit(_ctx.stringValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].CskuPriceList["+ j +"].PriceUnit")); List<RangeDTO> rangeList = new ArrayList<RangeDTO>(); for (int k = 0; k < _ctx.lengthValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].CskuPriceList["+ j +"].RangeList.Length"); k++) { RangeDTO rangeDTO = new RangeDTO(); rangeDTO.setFactorCode(_ctx.stringValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].CskuPriceList["+ j +"].RangeList["+ k +"].FactorCode")); rangeDTO.setMin(_ctx.stringValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].CskuPriceList["+ j +"].RangeList["+ k +"].Min")); rangeDTO.setMax(_ctx.stringValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].CskuPriceList["+ j +"].RangeList["+ k +"].Max")); rangeDTO.setType(_ctx.stringValue("QuerySkuPriceListResponse.Data.SkuPricePage.SkuPriceList["+ i +"].CskuPriceList["+ j +"].RangeList["+ k +"].Type")); rangeList.add(rangeDTO); } cSkuPriceDTO.setRangeList(rangeList); cskuPriceList.add(cSkuPriceDTO); } skuPricePageDTO.setCskuPriceList(cskuPriceList); skuPriceList.add(skuPricePageDTO); } skuPricePage.setSkuPriceList(skuPriceList); data.setSkuPricePage(skuPricePage); querySkuPriceListResponse.setData(data); return querySkuPriceListResponse; } }
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/QuerySplitItemBillResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QuerySplitItemBillResponse; import com.aliyuncs.bssopenapi.model.v20171214.QuerySplitItemBillResponse.Data; import com.aliyuncs.bssopenapi.model.v20171214.QuerySplitItemBillResponse.Data.Item; import com.aliyuncs.transform.UnmarshallerContext; public class QuerySplitItemBillResponseUnmarshaller { public static QuerySplitItemBillResponse unmarshall(QuerySplitItemBillResponse querySplitItemBillResponse, UnmarshallerContext _ctx) { querySplitItemBillResponse.setRequestId(_ctx.stringValue("QuerySplitItemBillResponse.RequestId")); querySplitItemBillResponse.setCode(_ctx.stringValue("QuerySplitItemBillResponse.Code")); querySplitItemBillResponse.setMessage(_ctx.stringValue("QuerySplitItemBillResponse.Message")); querySplitItemBillResponse.setSuccess(_ctx.booleanValue("QuerySplitItemBillResponse.Success")); Data data = new Data(); data.setPageNum(_ctx.integerValue("QuerySplitItemBillResponse.Data.PageNum")); data.setBillingCycle(_ctx.stringValue("QuerySplitItemBillResponse.Data.BillingCycle")); data.setAccountID(_ctx.stringValue("QuerySplitItemBillResponse.Data.AccountID")); data.setPageSize(_ctx.integerValue("QuerySplitItemBillResponse.Data.PageSize")); data.setTotalCount(_ctx.integerValue("QuerySplitItemBillResponse.Data.TotalCount")); data.setAccountName(_ctx.stringValue("QuerySplitItemBillResponse.Data.AccountName")); List<Item> items = new ArrayList<Item>(); for (int i = 0; i < _ctx.lengthValue("QuerySplitItemBillResponse.Data.Items.Length"); i++) { Item item = new Item(); item.setSplitAccountID(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].SplitAccountID")); item.setSubscriptionType(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].SubscriptionType")); item.setInstanceSpec(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].InstanceSpec")); item.setDeductedByCoupons(_ctx.floatValue("QuerySplitItemBillResponse.Data.Items["+ i +"].DeductedByCoupons")); item.setRegion(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].Region")); item.setOutstandingAmount(_ctx.floatValue("QuerySplitItemBillResponse.Data.Items["+ i +"].OutstandingAmount")); item.setPipCode(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].PipCode")); item.setCommodityCode(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].CommodityCode")); item.setNickName(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].NickName")); item.setProductDetail(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].ProductDetail")); item.setUsage(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].Usage")); item.setIntranetIP(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].IntranetIP")); item.setUsageUnit(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].UsageUnit")); item.setSplitCommodityCode(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].SplitCommodityCode")); item.setProductType(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].ProductType")); item.setDeductedByResourcePackage(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].DeductedByResourcePackage")); item.setPaymentAmount(_ctx.floatValue("QuerySplitItemBillResponse.Data.Items["+ i +"].PaymentAmount")); item.setSplitBillingCycle(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].SplitBillingCycle")); item.setServicePeriod(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].ServicePeriod")); item.setSplitItemName(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].SplitItemName")); item.setListPrice(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].ListPrice")); item.setZone(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].Zone")); item.setPretaxGrossAmount(_ctx.floatValue("QuerySplitItemBillResponse.Data.Items["+ i +"].PretaxGrossAmount")); item.setCashAmount(_ctx.floatValue("QuerySplitItemBillResponse.Data.Items["+ i +"].CashAmount")); item.setInstanceConfig(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].InstanceConfig")); item.setBillingDate(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].BillingDate")); item.setInternetIP(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].InternetIP")); item.setItem(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].Item")); item.setSplitItemID(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].SplitItemID")); item.setInstanceID(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].InstanceID")); item.setTag(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].Tag")); item.setCurrency(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].Currency")); item.setDeductedByCashCoupons(_ctx.floatValue("QuerySplitItemBillResponse.Data.Items["+ i +"].DeductedByCashCoupons")); item.setBillingItem(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].BillingItem")); item.setCostUnit(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].CostUnit")); item.setListPriceUnit(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].ListPriceUnit")); item.setResourceGroup(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].ResourceGroup")); item.setPretaxAmount(_ctx.floatValue("QuerySplitItemBillResponse.Data.Items["+ i +"].PretaxAmount")); item.setServicePeriodUnit(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].ServicePeriodUnit")); item.setProductName(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].ProductName")); item.setSplitProductDetail(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].SplitProductDetail")); item.setAdjustAmount(_ctx.floatValue("QuerySplitItemBillResponse.Data.Items["+ i +"].AdjustAmount")); item.setOwnerID(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].OwnerID")); item.setDeductedByPrepaidCard(_ctx.floatValue("QuerySplitItemBillResponse.Data.Items["+ i +"].DeductedByPrepaidCard")); item.setInvoiceDiscount(_ctx.floatValue("QuerySplitItemBillResponse.Data.Items["+ i +"].InvoiceDiscount")); item.setSplitAccountName(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].SplitAccountName")); item.setBillingType(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].BillingType")); item.setProductCode(_ctx.stringValue("QuerySplitItemBillResponse.Data.Items["+ i +"].ProductCode")); items.add(item); } data.setItems(items); querySplitItemBillResponse.setData(data); return querySplitItemBillResponse; } }
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/QueryUserOmsDataResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.QueryUserOmsDataResponse; import com.aliyuncs.bssopenapi.model.v20171214.QueryUserOmsDataResponse.Data; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class QueryUserOmsDataResponseUnmarshaller { public static QueryUserOmsDataResponse unmarshall(QueryUserOmsDataResponse queryUserOmsDataResponse, UnmarshallerContext _ctx) { queryUserOmsDataResponse.setRequestId(_ctx.stringValue("QueryUserOmsDataResponse.RequestId")); queryUserOmsDataResponse.setCode(_ctx.stringValue("QueryUserOmsDataResponse.Code")); queryUserOmsDataResponse.setMessage(_ctx.stringValue("QueryUserOmsDataResponse.Message")); queryUserOmsDataResponse.setSuccess(_ctx.booleanValue("QueryUserOmsDataResponse.Success")); Data data = new Data(); data.setMarker(_ctx.stringValue("QueryUserOmsDataResponse.Data.Marker")); data.setHostId(_ctx.stringValue("QueryUserOmsDataResponse.Data.HostId")); List<Map<Object, Object>> omsData = _ctx.listMapValue("QueryUserOmsDataResponse.Data.OmsData"); data.setOmsData(omsData); queryUserOmsDataResponse.setData(data); return queryUserOmsDataResponse; } }
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/RefundInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.RefundInstanceResponse; import com.aliyuncs.bssopenapi.model.v20171214.RefundInstanceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class RefundInstanceResponseUnmarshaller { public static RefundInstanceResponse unmarshall(RefundInstanceResponse refundInstanceResponse, UnmarshallerContext _ctx) { refundInstanceResponse.setRequestId(_ctx.stringValue("RefundInstanceResponse.RequestId")); refundInstanceResponse.setMessage(_ctx.stringValue("RefundInstanceResponse.Message")); refundInstanceResponse.setCode(_ctx.stringValue("RefundInstanceResponse.Code")); refundInstanceResponse.setSuccess(_ctx.booleanValue("RefundInstanceResponse.Success")); Data data = new Data(); data.setHostId(_ctx.stringValue("RefundInstanceResponse.Data.HostId")); data.setOrderId(_ctx.longValue("RefundInstanceResponse.Data.OrderId")); refundInstanceResponse.setData(data); return refundInstanceResponse; } }
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/ReleaseInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.ReleaseInstanceResponse; import com.aliyuncs.bssopenapi.model.v20171214.ReleaseInstanceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class ReleaseInstanceResponseUnmarshaller { public static ReleaseInstanceResponse unmarshall(ReleaseInstanceResponse releaseInstanceResponse, UnmarshallerContext _ctx) { releaseInstanceResponse.setRequestId(_ctx.stringValue("ReleaseInstanceResponse.RequestId")); releaseInstanceResponse.setMessage(_ctx.stringValue("ReleaseInstanceResponse.Message")); releaseInstanceResponse.setCode(_ctx.stringValue("ReleaseInstanceResponse.Code")); releaseInstanceResponse.setSuccess(_ctx.booleanValue("ReleaseInstanceResponse.Success")); Data data = new Data(); data.setReleaseResult(_ctx.booleanValue("ReleaseInstanceResponse.Data.ReleaseResult")); data.setHostId(_ctx.stringValue("ReleaseInstanceResponse.Data.HostId")); releaseInstanceResponse.setData(data); return releaseInstanceResponse; } }
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/RelieveAccountRelationResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.RelieveAccountRelationResponse; import com.aliyuncs.bssopenapi.model.v20171214.RelieveAccountRelationResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class RelieveAccountRelationResponseUnmarshaller { public static RelieveAccountRelationResponse unmarshall(RelieveAccountRelationResponse relieveAccountRelationResponse, UnmarshallerContext _ctx) { relieveAccountRelationResponse.setRequestId(_ctx.stringValue("RelieveAccountRelationResponse.RequestId")); relieveAccountRelationResponse.setCode(_ctx.stringValue("RelieveAccountRelationResponse.Code")); relieveAccountRelationResponse.setMessage(_ctx.stringValue("RelieveAccountRelationResponse.Message")); relieveAccountRelationResponse.setSuccess(_ctx.booleanValue("RelieveAccountRelationResponse.Success")); Data data = new Data(); data.setHostId(_ctx.stringValue("RelieveAccountRelationResponse.Data.HostId")); relieveAccountRelationResponse.setData(data); return relieveAccountRelationResponse; } }
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/RenewChangeInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.RenewChangeInstanceResponse; import com.aliyuncs.bssopenapi.model.v20171214.RenewChangeInstanceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class RenewChangeInstanceResponseUnmarshaller { public static RenewChangeInstanceResponse unmarshall(RenewChangeInstanceResponse renewChangeInstanceResponse, UnmarshallerContext _ctx) { renewChangeInstanceResponse.setRequestId(_ctx.stringValue("RenewChangeInstanceResponse.RequestId")); renewChangeInstanceResponse.setCode(_ctx.stringValue("RenewChangeInstanceResponse.Code")); renewChangeInstanceResponse.setMessage(_ctx.stringValue("RenewChangeInstanceResponse.Message")); renewChangeInstanceResponse.setSuccess(_ctx.booleanValue("RenewChangeInstanceResponse.Success")); Data data = new Data(); data.setOrderId(_ctx.stringValue("RenewChangeInstanceResponse.Data.OrderId")); data.setHostId(_ctx.stringValue("RenewChangeInstanceResponse.Data.HostId")); renewChangeInstanceResponse.setData(data); return renewChangeInstanceResponse; } }
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/RenewInstanceResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.RenewInstanceResponse; import com.aliyuncs.bssopenapi.model.v20171214.RenewInstanceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class RenewInstanceResponseUnmarshaller { public static RenewInstanceResponse unmarshall(RenewInstanceResponse renewInstanceResponse, UnmarshallerContext _ctx) { renewInstanceResponse.setRequestId(_ctx.stringValue("RenewInstanceResponse.RequestId")); renewInstanceResponse.setCode(_ctx.stringValue("RenewInstanceResponse.Code")); renewInstanceResponse.setMessage(_ctx.stringValue("RenewInstanceResponse.Message")); renewInstanceResponse.setSuccess(_ctx.booleanValue("RenewInstanceResponse.Success")); Data data = new Data(); data.setOrderId(_ctx.stringValue("RenewInstanceResponse.Data.OrderId")); renewInstanceResponse.setData(data); return renewInstanceResponse; } }
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/RenewResourcePackageResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.RenewResourcePackageResponse; import com.aliyuncs.bssopenapi.model.v20171214.RenewResourcePackageResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class RenewResourcePackageResponseUnmarshaller { public static RenewResourcePackageResponse unmarshall(RenewResourcePackageResponse renewResourcePackageResponse, UnmarshallerContext _ctx) { renewResourcePackageResponse.setRequestId(_ctx.stringValue("RenewResourcePackageResponse.RequestId")); renewResourcePackageResponse.setCode(_ctx.stringValue("RenewResourcePackageResponse.Code")); renewResourcePackageResponse.setMessage(_ctx.stringValue("RenewResourcePackageResponse.Message")); renewResourcePackageResponse.setSuccess(_ctx.booleanValue("RenewResourcePackageResponse.Success")); renewResourcePackageResponse.setOrderId(_ctx.longValue("RenewResourcePackageResponse.OrderId")); Data data = new Data(); data.setOrderId(_ctx.longValue("RenewResourcePackageResponse.Data.OrderId")); data.setInstanceId(_ctx.stringValue("RenewResourcePackageResponse.Data.InstanceId")); renewResourcePackageResponse.setData(data); return renewResourcePackageResponse; } }
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/SetAllExpirationDayResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.SetAllExpirationDayResponse; import com.aliyuncs.transform.UnmarshallerContext; public class SetAllExpirationDayResponseUnmarshaller { public static SetAllExpirationDayResponse unmarshall(SetAllExpirationDayResponse setAllExpirationDayResponse, UnmarshallerContext _ctx) { setAllExpirationDayResponse.setRequestId(_ctx.stringValue("SetAllExpirationDayResponse.RequestId")); setAllExpirationDayResponse.setCode(_ctx.stringValue("SetAllExpirationDayResponse.Code")); setAllExpirationDayResponse.setMessage(_ctx.stringValue("SetAllExpirationDayResponse.Message")); setAllExpirationDayResponse.setSuccess(_ctx.booleanValue("SetAllExpirationDayResponse.Success")); return setAllExpirationDayResponse; } }
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/SetRenewalResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.SetRenewalResponse; import com.aliyuncs.transform.UnmarshallerContext; public class SetRenewalResponseUnmarshaller { public static SetRenewalResponse unmarshall(SetRenewalResponse setRenewalResponse, UnmarshallerContext _ctx) { setRenewalResponse.setRequestId(_ctx.stringValue("SetRenewalResponse.RequestId")); setRenewalResponse.setCode(_ctx.stringValue("SetRenewalResponse.Code")); setRenewalResponse.setMessage(_ctx.stringValue("SetRenewalResponse.Message")); setRenewalResponse.setSuccess(_ctx.booleanValue("SetRenewalResponse.Success")); return setRenewalResponse; } }
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/SetResellerUserAlarmThresholdResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.SetResellerUserAlarmThresholdResponse; import com.aliyuncs.transform.UnmarshallerContext; public class SetResellerUserAlarmThresholdResponseUnmarshaller { public static SetResellerUserAlarmThresholdResponse unmarshall(SetResellerUserAlarmThresholdResponse setResellerUserAlarmThresholdResponse, UnmarshallerContext _ctx) { setResellerUserAlarmThresholdResponse.setRequestId(_ctx.stringValue("SetResellerUserAlarmThresholdResponse.RequestId")); setResellerUserAlarmThresholdResponse.setCode(_ctx.stringValue("SetResellerUserAlarmThresholdResponse.Code")); setResellerUserAlarmThresholdResponse.setMessage(_ctx.stringValue("SetResellerUserAlarmThresholdResponse.Message")); setResellerUserAlarmThresholdResponse.setData(_ctx.booleanValue("SetResellerUserAlarmThresholdResponse.Data")); setResellerUserAlarmThresholdResponse.setSuccess(_ctx.booleanValue("SetResellerUserAlarmThresholdResponse.Success")); return setResellerUserAlarmThresholdResponse; } }
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/SetResellerUserQuotaResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.SetResellerUserQuotaResponse; import com.aliyuncs.transform.UnmarshallerContext; public class SetResellerUserQuotaResponseUnmarshaller { public static SetResellerUserQuotaResponse unmarshall(SetResellerUserQuotaResponse setResellerUserQuotaResponse, UnmarshallerContext _ctx) { setResellerUserQuotaResponse.setRequestId(_ctx.stringValue("SetResellerUserQuotaResponse.RequestId")); setResellerUserQuotaResponse.setCode(_ctx.stringValue("SetResellerUserQuotaResponse.Code")); setResellerUserQuotaResponse.setMessage(_ctx.stringValue("SetResellerUserQuotaResponse.Message")); setResellerUserQuotaResponse.setData(_ctx.booleanValue("SetResellerUserQuotaResponse.Data")); setResellerUserQuotaResponse.setSuccess(_ctx.booleanValue("SetResellerUserQuotaResponse.Success")); return setResellerUserQuotaResponse; } }
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/SetResellerUserStatusResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.SetResellerUserStatusResponse; import com.aliyuncs.transform.UnmarshallerContext; public class SetResellerUserStatusResponseUnmarshaller { public static SetResellerUserStatusResponse unmarshall(SetResellerUserStatusResponse setResellerUserStatusResponse, UnmarshallerContext _ctx) { setResellerUserStatusResponse.setRequestId(_ctx.stringValue("SetResellerUserStatusResponse.RequestId")); setResellerUserStatusResponse.setCode(_ctx.stringValue("SetResellerUserStatusResponse.Code")); setResellerUserStatusResponse.setMessage(_ctx.stringValue("SetResellerUserStatusResponse.Message")); setResellerUserStatusResponse.setData(_ctx.booleanValue("SetResellerUserStatusResponse.Data")); setResellerUserStatusResponse.setSuccess(_ctx.booleanValue("SetResellerUserStatusResponse.Success")); return setResellerUserStatusResponse; } }
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/SubscribeBillToOSSResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.SubscribeBillToOSSResponse; import com.aliyuncs.transform.UnmarshallerContext; public class SubscribeBillToOSSResponseUnmarshaller { public static SubscribeBillToOSSResponse unmarshall(SubscribeBillToOSSResponse subscribeBillToOSSResponse, UnmarshallerContext _ctx) { subscribeBillToOSSResponse.setRequestId(_ctx.stringValue("SubscribeBillToOSSResponse.RequestId")); subscribeBillToOSSResponse.setCode(_ctx.stringValue("SubscribeBillToOSSResponse.Code")); subscribeBillToOSSResponse.setMessage(_ctx.stringValue("SubscribeBillToOSSResponse.Message")); subscribeBillToOSSResponse.setSuccess(_ctx.booleanValue("SubscribeBillToOSSResponse.Success")); return subscribeBillToOSSResponse; } }
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/TagResourcesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.TagResourcesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class TagResourcesResponseUnmarshaller { public static TagResourcesResponse unmarshall(TagResourcesResponse tagResourcesResponse, UnmarshallerContext _ctx) { tagResourcesResponse.setRequestId(_ctx.stringValue("TagResourcesResponse.RequestId")); tagResourcesResponse.setCode(_ctx.stringValue("TagResourcesResponse.Code")); tagResourcesResponse.setMessage(_ctx.stringValue("TagResourcesResponse.Message")); tagResourcesResponse.setData(_ctx.booleanValue("TagResourcesResponse.Data")); tagResourcesResponse.setSuccess(_ctx.booleanValue("TagResourcesResponse.Success")); return tagResourcesResponse; } }
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/UnsubscribeBillToOSSResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.UnsubscribeBillToOSSResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UnsubscribeBillToOSSResponseUnmarshaller { public static UnsubscribeBillToOSSResponse unmarshall(UnsubscribeBillToOSSResponse unsubscribeBillToOSSResponse, UnmarshallerContext _ctx) { unsubscribeBillToOSSResponse.setRequestId(_ctx.stringValue("UnsubscribeBillToOSSResponse.RequestId")); unsubscribeBillToOSSResponse.setCode(_ctx.stringValue("UnsubscribeBillToOSSResponse.Code")); unsubscribeBillToOSSResponse.setMessage(_ctx.stringValue("UnsubscribeBillToOSSResponse.Message")); unsubscribeBillToOSSResponse.setSuccess(_ctx.booleanValue("UnsubscribeBillToOSSResponse.Success")); return unsubscribeBillToOSSResponse; } }
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/UntagResourcesResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.bssopenapi.transform.v20171214; import com.aliyuncs.bssopenapi.model.v20171214.UntagResourcesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UntagResourcesResponseUnmarshaller { public static UntagResourcesResponse unmarshall(UntagResourcesResponse untagResourcesResponse, UnmarshallerContext _ctx) { untagResourcesResponse.setRequestId(_ctx.stringValue("UntagResourcesResponse.RequestId")); untagResourcesResponse.setCode(_ctx.stringValue("UntagResourcesResponse.Code")); untagResourcesResponse.setMessage(_ctx.stringValue("UntagResourcesResponse.Message")); untagResourcesResponse.setData(_ctx.booleanValue("UntagResourcesResponse.Data")); untagResourcesResponse.setSuccess(_ctx.booleanValue("UntagResourcesResponse.Success")); return untagResourcesResponse; } }
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/UpgradeResourcePackageResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS 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.UpgradeResourcePackageResponse; import com.aliyuncs.bssopenapi.model.v20171214.UpgradeResourcePackageResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class UpgradeResourcePackageResponseUnmarshaller { public static UpgradeResourcePackageResponse unmarshall(UpgradeResourcePackageResponse upgradeResourcePackageResponse, UnmarshallerContext _ctx) { upgradeResourcePackageResponse.setRequestId(_ctx.stringValue("UpgradeResourcePackageResponse.RequestId")); upgradeResourcePackageResponse.setCode(_ctx.stringValue("UpgradeResourcePackageResponse.Code")); upgradeResourcePackageResponse.setMessage(_ctx.stringValue("UpgradeResourcePackageResponse.Message")); upgradeResourcePackageResponse.setSuccess(_ctx.booleanValue("UpgradeResourcePackageResponse.Success")); upgradeResourcePackageResponse.setOrderId(_ctx.longValue("UpgradeResourcePackageResponse.OrderId")); Data data = new Data(); data.setOrderId(_ctx.longValue("UpgradeResourcePackageResponse.Data.OrderId")); data.setInstanceId(_ctx.stringValue("UpgradeResourcePackageResponse.Data.InstanceId")); upgradeResourcePackageResponse.setData(data); return upgradeResourcePackageResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-btripopen/1.0.1/com/aliyuncs/btripopen/model
java-sources/com/aliyun/aliyun-java-sdk-btripopen/1.0.1/com/aliyuncs/btripopen/model/v20220517/ScanMsgListRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.btripopen.model.v20220517; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.ProtocolType; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class ScanMsgListRequest extends RoaAcsRequest<ScanMsgListResponse> { private String biz; private Integer scanSequence; private Integer size; private String corpId; private String channelType; private Long sequenceId; private String userId; public ScanMsgListRequest() { super("btripOpen", "2022-05-17", "ScanMsgList"); setProtocol(ProtocolType.HTTPS); setUriPattern("/ScanMsgList"); setMethod(MethodType.POST); } public String getBiz() { return this.biz; } public void setBiz(String biz) { this.biz = biz; if(biz != null){ putBodyParameter("Biz", biz); } } public Integer getScanSequence() { return this.scanSequence; } public void setScanSequence(Integer scanSequence) { this.scanSequence = scanSequence; if(scanSequence != null){ putBodyParameter("ScanSequence", scanSequence.toString()); } } public Integer getSize() { return this.size; } public void setSize(Integer size) { this.size = size; if(size != null){ putBodyParameter("Size", size.toString()); } } public String getCorpId() { return this.corpId; } public void setCorpId(String corpId) { this.corpId = corpId; if(corpId != null){ putBodyParameter("CorpId", corpId); } } public String getChannelType() { return this.channelType; } public void setChannelType(String channelType) { this.channelType = channelType; if(channelType != null){ putBodyParameter("ChannelType", channelType); } } public Long getSequenceId() { return this.sequenceId; } public void setSequenceId(Long sequenceId) { this.sequenceId = sequenceId; if(sequenceId != null){ putBodyParameter("SequenceId", sequenceId.toString()); } } public String getUserId() { return this.userId; } public void setUserId(String userId) { this.userId = userId; if(userId != null){ putBodyParameter("UserId", userId); } } @Override public Class<ScanMsgListResponse> getResponseClass() { return ScanMsgListResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-btripopen/1.0.1/com/aliyuncs/btripopen/model
java-sources/com/aliyun/aliyun-java-sdk-btripopen/1.0.1/com/aliyuncs/btripopen/model/v20220517/ScanMsgListResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.btripopen.model.v20220517; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.btripopen.transform.v20220517.ScanMsgListResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ScanMsgListResponse extends AcsResponse { private Boolean success; private Integer code; private String msg; private String extMsg; private String requestId; private List<ModuleItem> module; public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMsg() { return this.msg; } public void setMsg(String msg) { this.msg = msg; } public String getExtMsg() { return this.extMsg; } public void setExtMsg(String extMsg) { this.extMsg = extMsg; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<ModuleItem> getModule() { return this.module; } public void setModule(List<ModuleItem> module) { this.module = module; } public static class ModuleItem { private Long sequenceId; private String biz; private String content; private String sendTime; private Boolean haveRedDot; private Integer unReadCount; private Boolean showMsg; public Long getSequenceId() { return this.sequenceId; } public void setSequenceId(Long sequenceId) { this.sequenceId = sequenceId; } public String getBiz() { return this.biz; } public void setBiz(String biz) { this.biz = biz; } public String getContent() { return this.content; } public void setContent(String content) { this.content = content; } public String getSendTime() { return this.sendTime; } public void setSendTime(String sendTime) { this.sendTime = sendTime; } public Boolean getHaveRedDot() { return this.haveRedDot; } public void setHaveRedDot(Boolean haveRedDot) { this.haveRedDot = haveRedDot; } public Integer getUnReadCount() { return this.unReadCount; } public void setUnReadCount(Integer unReadCount) { this.unReadCount = unReadCount; } public Boolean getShowMsg() { return this.showMsg; } public void setShowMsg(Boolean showMsg) { this.showMsg = showMsg; } } @Override public ScanMsgListResponse getInstance(UnmarshallerContext context) { return ScanMsgListResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-btripopen/1.0.1/com/aliyuncs/btripopen/model
java-sources/com/aliyun/aliyun-java-sdk-btripopen/1.0.1/com/aliyuncs/btripopen/model/v20220517/TakeAccessTokenRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.btripopen.model.v20220517; import com.aliyuncs.RoaAcsRequest; import com.aliyuncs.http.ProtocolType; import com.aliyuncs.http.MethodType; /** * @author auto create * @version */ public class TakeAccessTokenRequest extends RoaAcsRequest<TakeAccessTokenResponse> { private String app_key; private String app_secret; public TakeAccessTokenRequest() { super("btripOpen", "2022-05-17", "TakeAccessToken"); setProtocol(ProtocolType.HTTPS); setUriPattern("/btrip/open/access-token/take/[app_key]"); setMethod(MethodType.GET); } public String getApp_key() { return this.app_key; } public void setApp_key(String app_key) { this.app_key = app_key; if(app_key != null){ putPathParameter("app_key", app_key); } } public String getApp_secret() { return this.app_secret; } public void setApp_secret(String app_secret) { this.app_secret = app_secret; if(app_secret != null){ putQueryParameter("app_secret", app_secret); } } @Override public Class<TakeAccessTokenResponse> getResponseClass() { return TakeAccessTokenResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-btripopen/1.0.1/com/aliyuncs/btripopen/model
java-sources/com/aliyun/aliyun-java-sdk-btripopen/1.0.1/com/aliyuncs/btripopen/model/v20220517/TakeAccessTokenResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.btripopen.model.v20220517; import com.aliyuncs.AcsResponse; import com.aliyuncs.btripopen.transform.v20220517.TakeAccessTokenResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class TakeAccessTokenResponse extends AcsResponse { private String requestId; private String code; private String message; private String 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 String getSuccess() { return this.success; } public void setSuccess(String success) { this.success = success; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String access_token; private Long expire; public String getAccess_token() { return this.access_token; } public void setAccess_token(String access_token) { this.access_token = access_token; } public Long getExpire() { return this.expire; } public void setExpire(Long expire) { this.expire = expire; } } @Override public TakeAccessTokenResponse getInstance(UnmarshallerContext context) { return TakeAccessTokenResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-btripopen/1.0.1/com/aliyuncs/btripopen/transform
java-sources/com/aliyun/aliyun-java-sdk-btripopen/1.0.1/com/aliyuncs/btripopen/transform/v20220517/ScanMsgListResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.btripopen.transform.v20220517; import java.util.ArrayList; import java.util.List; import com.aliyuncs.btripopen.model.v20220517.ScanMsgListResponse; import com.aliyuncs.btripopen.model.v20220517.ScanMsgListResponse.ModuleItem; import com.aliyuncs.transform.UnmarshallerContext; public class ScanMsgListResponseUnmarshaller { public static ScanMsgListResponse unmarshall(ScanMsgListResponse scanMsgListResponse, UnmarshallerContext _ctx) { scanMsgListResponse.setRequestId(_ctx.stringValue("ScanMsgListResponse.RequestId")); scanMsgListResponse.setSuccess(_ctx.booleanValue("ScanMsgListResponse.Success")); scanMsgListResponse.setCode(_ctx.integerValue("ScanMsgListResponse.Code")); scanMsgListResponse.setMsg(_ctx.stringValue("ScanMsgListResponse.Msg")); scanMsgListResponse.setExtMsg(_ctx.stringValue("ScanMsgListResponse.ExtMsg")); List<ModuleItem> module = new ArrayList<ModuleItem>(); for (int i = 0; i < _ctx.lengthValue("ScanMsgListResponse.Module.Length"); i++) { ModuleItem moduleItem = new ModuleItem(); moduleItem.setSequenceId(_ctx.longValue("ScanMsgListResponse.Module["+ i +"].SequenceId")); moduleItem.setBiz(_ctx.stringValue("ScanMsgListResponse.Module["+ i +"].Biz")); moduleItem.setContent(_ctx.stringValue("ScanMsgListResponse.Module["+ i +"].Content")); moduleItem.setSendTime(_ctx.stringValue("ScanMsgListResponse.Module["+ i +"].SendTime")); moduleItem.setHaveRedDot(_ctx.booleanValue("ScanMsgListResponse.Module["+ i +"].HaveRedDot")); moduleItem.setUnReadCount(_ctx.integerValue("ScanMsgListResponse.Module["+ i +"].UnReadCount")); moduleItem.setShowMsg(_ctx.booleanValue("ScanMsgListResponse.Module["+ i +"].ShowMsg")); module.add(moduleItem); } scanMsgListResponse.setModule(module); return scanMsgListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-btripopen/1.0.1/com/aliyuncs/btripopen/transform
java-sources/com/aliyun/aliyun-java-sdk-btripopen/1.0.1/com/aliyuncs/btripopen/transform/v20220517/TakeAccessTokenResponseUnmarshaller.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.btripopen.transform.v20220517; import com.aliyuncs.btripopen.model.v20220517.TakeAccessTokenResponse; import com.aliyuncs.btripopen.model.v20220517.TakeAccessTokenResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class TakeAccessTokenResponseUnmarshaller { public static TakeAccessTokenResponse unmarshall(TakeAccessTokenResponse takeAccessTokenResponse, UnmarshallerContext _ctx) { takeAccessTokenResponse.setRequestId(_ctx.stringValue("TakeAccessTokenResponse.requestId")); takeAccessTokenResponse.setCode(_ctx.stringValue("TakeAccessTokenResponse.code")); takeAccessTokenResponse.setMessage(_ctx.stringValue("TakeAccessTokenResponse.message")); takeAccessTokenResponse.setSuccess(_ctx.stringValue("TakeAccessTokenResponse.success")); Data data = new Data(); data.setAccess_token(_ctx.stringValue("TakeAccessTokenResponse.data.access_token")); data.setExpire(_ctx.longValue("TakeAccessTokenResponse.data.expire")); takeAccessTokenResponse.setData(data); return takeAccessTokenResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/Endpoint.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams; import java.util.HashMap; public class Endpoint { public static HashMap<String, String> endpointMap = new HashMap<String, String>() {}; public static String endpointRegionalType = "regional"; }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/AddChatappPhoneNumberRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class AddChatappPhoneNumberRequest extends RpcAcsRequest<AddChatappPhoneNumberResponse> { private Long resourceOwnerId; private String preValidateId; private String verifiedName; private String phoneNumber; private String cc; private String resourceOwnerAccount; private Long ownerId; private String custSpaceId; public AddChatappPhoneNumberRequest() { super("cams", "2020-06-06", "AddChatappPhoneNumber", "cams"); 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 getResourceOwnerId() { return this.resourceOwnerId; } public void setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; if(resourceOwnerId != null){ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); } } public String getPreValidateId() { return this.preValidateId; } public void setPreValidateId(String preValidateId) { this.preValidateId = preValidateId; if(preValidateId != null){ putQueryParameter("PreValidateId", preValidateId); } } public String getVerifiedName() { return this.verifiedName; } public void setVerifiedName(String verifiedName) { this.verifiedName = verifiedName; if(verifiedName != null){ putQueryParameter("VerifiedName", verifiedName); } } public String getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; if(phoneNumber != null){ putQueryParameter("PhoneNumber", phoneNumber); } } public String getCc() { return this.cc; } public void setCc(String cc) { this.cc = cc; if(cc != null){ putQueryParameter("Cc", cc); } } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public void setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; if(resourceOwnerAccount != null){ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putQueryParameter("CustSpaceId", custSpaceId); } } @Override public Class<AddChatappPhoneNumberResponse> getResponseClass() { return AddChatappPhoneNumberResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/AddChatappPhoneNumberResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.AddChatappPhoneNumberResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class AddChatappPhoneNumberResponse extends AcsResponse { private String accessDeniedDetail; private String message; private String requestId; private String code; private Boolean success; public String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } 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; } @Override public AddChatappPhoneNumberResponse getInstance(UnmarshallerContext context) { return AddChatappPhoneNumberResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/BeeBotAssociateRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class BeeBotAssociateRequest extends RpcAcsRequest<BeeBotAssociateResponse> { private String sessionId; private String perspective; private String utterance; private String isvCode; private Integer recommendNum; private String chatBotInstanceId; private String custSpaceId; public BeeBotAssociateRequest() { super("cams", "2020-06-06", "BeeBotAssociate", "cams"); 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 getSessionId() { return this.sessionId; } public void setSessionId(String sessionId) { this.sessionId = sessionId; if(sessionId != null){ putBodyParameter("SessionId", sessionId); } } public String getPerspective() { return this.perspective; } public void setPerspective(String perspective) { this.perspective = perspective; if(perspective != null){ putBodyParameter("Perspective", perspective); } } public String getUtterance() { return this.utterance; } public void setUtterance(String utterance) { this.utterance = utterance; if(utterance != null){ putBodyParameter("Utterance", utterance); } } public String getIsvCode() { return this.isvCode; } public void setIsvCode(String isvCode) { this.isvCode = isvCode; if(isvCode != null){ putBodyParameter("IsvCode", isvCode); } } public Integer getRecommendNum() { return this.recommendNum; } public void setRecommendNum(Integer recommendNum) { this.recommendNum = recommendNum; if(recommendNum != null){ putBodyParameter("RecommendNum", recommendNum.toString()); } } public String getChatBotInstanceId() { return this.chatBotInstanceId; } public void setChatBotInstanceId(String chatBotInstanceId) { this.chatBotInstanceId = chatBotInstanceId; if(chatBotInstanceId != null){ putBodyParameter("ChatBotInstanceId", chatBotInstanceId); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putBodyParameter("CustSpaceId", custSpaceId); } } @Override public Class<BeeBotAssociateResponse> getResponseClass() { return BeeBotAssociateResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/BeeBotAssociateResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.BeeBotAssociateResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class BeeBotAssociateResponse extends AcsResponse { private String requestId; private String code; private String message; private String accessDeniedDetail; 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 String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String messageId; private String sessionId; private List<联想的列表> associate; public String getMessageId() { return this.messageId; } public void setMessageId(String messageId) { this.messageId = messageId; } public String getSessionId() { return this.sessionId; } public void setSessionId(String sessionId) { this.sessionId = sessionId; } public List<联想的列表> getAssociate() { return this.associate; } public void setAssociate(List<联想的列表> associate) { this.associate = associate; } public static class 联想的列表 { private String meta; private String title; public String getMeta() { return this.meta; } public void setMeta(String meta) { this.meta = meta; } public String getTitle() { return this.title; } public void setTitle(String title) { this.title = title; } } } @Override public BeeBotAssociateResponse getInstance(UnmarshallerContext context) { return BeeBotAssociateResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/BeeBotChatRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; 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.cams.Endpoint; /** * @author auto create * @version */ public class BeeBotChatRequest extends RpcAcsRequest<BeeBotChatResponse> { private String sessionId; private String intentName; private String senderNick; @SerializedName("perspective") private List<String> perspective; private String utterance; private String isvCode; private String knowledgeId; @SerializedName("vendorParam") private Map<String,String> vendorParam; private String senderId; private String chatBotInstanceId; private String custSpaceId; public BeeBotChatRequest() { super("cams", "2020-06-06", "BeeBotChat", "cams"); 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 getSessionId() { return this.sessionId; } public void setSessionId(String sessionId) { this.sessionId = sessionId; if(sessionId != null){ putBodyParameter("SessionId", sessionId); } } public String getIntentName() { return this.intentName; } public void setIntentName(String intentName) { this.intentName = intentName; if(intentName != null){ putBodyParameter("IntentName", intentName); } } public String getSenderNick() { return this.senderNick; } public void setSenderNick(String senderNick) { this.senderNick = senderNick; if(senderNick != null){ putBodyParameter("SenderNick", senderNick); } } public List<String> getPerspective() { return this.perspective; } public void setPerspective(List<String> perspective) { this.perspective = perspective; if (perspective != null) { putBodyParameter("Perspective" , new Gson().toJson(perspective)); } } public String getUtterance() { return this.utterance; } public void setUtterance(String utterance) { this.utterance = utterance; if(utterance != null){ putBodyParameter("Utterance", utterance); } } public String getIsvCode() { return this.isvCode; } public void setIsvCode(String isvCode) { this.isvCode = isvCode; if(isvCode != null){ putBodyParameter("IsvCode", isvCode); } } public String getKnowledgeId() { return this.knowledgeId; } public void setKnowledgeId(String knowledgeId) { this.knowledgeId = knowledgeId; if(knowledgeId != null){ putBodyParameter("KnowledgeId", knowledgeId); } } public Map<String,String> getVendorParam() { return this.vendorParam; } public void setVendorParam(Map<String,String> vendorParam) { this.vendorParam = vendorParam; if (vendorParam != null) { putBodyParameter("VendorParam" , new Gson().toJson(vendorParam)); } } public String getSenderId() { return this.senderId; } public void setSenderId(String senderId) { this.senderId = senderId; if(senderId != null){ putBodyParameter("SenderId", senderId); } } public String getChatBotInstanceId() { return this.chatBotInstanceId; } public void setChatBotInstanceId(String chatBotInstanceId) { this.chatBotInstanceId = chatBotInstanceId; if(chatBotInstanceId != null){ putBodyParameter("ChatBotInstanceId", chatBotInstanceId); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putBodyParameter("CustSpaceId", custSpaceId); } } @Override public Class<BeeBotChatResponse> getResponseClass() { return BeeBotChatResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/BeeBotChatResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import java.util.List; import java.util.Map; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.BeeBotChatResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class BeeBotChatResponse extends AcsResponse { private String requestId; private String code; private String message; private String accessDeniedDetail; 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 String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String messageId; private String sessionId; private List<消息的列表> messages; public String getMessageId() { return this.messageId; } public void setMessageId(String messageId) { this.messageId = messageId; } public String getSessionId() { return this.sessionId; } public void setSessionId(String sessionId) { this.sessionId = sessionId; } public List<消息的列表> getMessages() { return this.messages; } public void setMessages(List<消息的列表> messages) { this.messages = messages; } public static class 消息的列表 { private String answerType; private String answerSource; private List<Recommend> recommends; private Knowledge knowledge; private Text text; public String getAnswerType() { return this.answerType; } public void setAnswerType(String answerType) { this.answerType = answerType; } public String getAnswerSource() { return this.answerSource; } public void setAnswerSource(String answerSource) { this.answerSource = answerSource; } public List<Recommend> getRecommends() { return this.recommends; } public void setRecommends(List<Recommend> recommends) { this.recommends = recommends; } public Knowledge getKnowledge() { return this.knowledge; } public void setKnowledge(Knowledge knowledge) { this.knowledge = knowledge; } public Text getText() { return this.text; } public void setText(Text text) { this.text = text; } public static class Recommend { private String knowledgeId; private String title; private String answerSource; public String getKnowledgeId() { return this.knowledgeId; } public void setKnowledgeId(String knowledgeId) { this.knowledgeId = knowledgeId; } public String getTitle() { return this.title; } public void setTitle(String title) { this.title = title; } public String getAnswerSource() { return this.answerSource; } public void setAnswerSource(String answerSource) { this.answerSource = answerSource; } } public static class Knowledge { private String hitStatement; private String summary; private String category; private String title; private String content; private String answerSource; private String id; private String contentType; private List<RelatedKnowledgesItem> relatedKnowledges; public String getHitStatement() { return this.hitStatement; } public void setHitStatement(String hitStatement) { this.hitStatement = hitStatement; } public String getSummary() { return this.summary; } public void setSummary(String summary) { this.summary = summary; } public String getCategory() { return this.category; } public void setCategory(String category) { this.category = category; } public String getTitle() { return this.title; } public void setTitle(String title) { this.title = title; } public String getContent() { return this.content; } public void setContent(String content) { this.content = content; } public String getAnswerSource() { return this.answerSource; } public void setAnswerSource(String answerSource) { this.answerSource = answerSource; } public String getId() { return this.id; } public void setId(String id) { this.id = id; } public String getContentType() { return this.contentType; } public void setContentType(String contentType) { this.contentType = contentType; } public List<RelatedKnowledgesItem> getRelatedKnowledges() { return this.relatedKnowledges; } public void setRelatedKnowledges(List<RelatedKnowledgesItem> relatedKnowledges) { this.relatedKnowledges = relatedKnowledges; } public static class RelatedKnowledgesItem { private String knowledgeId; private String title; public String getKnowledgeId() { return this.knowledgeId; } public void setKnowledgeId(String knowledgeId) { this.knowledgeId = knowledgeId; } public String getTitle() { return this.title; } public void setTitle(String title) { this.title = title; } } } public static class Text { private String hitStatement; private String dialogName; private String answerSource; private String nodeName; private String intentName; private String metaData; private Map<Object,Object> externalFlags; private Map<Object,Object> ext; private String userDefinedChatTitle; private String content; private String nodeId; private String contentType; private List<SlotsItem> slots; public String getHitStatement() { return this.hitStatement; } public void setHitStatement(String hitStatement) { this.hitStatement = hitStatement; } public String getDialogName() { return this.dialogName; } public void setDialogName(String dialogName) { this.dialogName = dialogName; } public String getAnswerSource() { return this.answerSource; } public void setAnswerSource(String answerSource) { this.answerSource = answerSource; } public String getNodeName() { return this.nodeName; } public void setNodeName(String nodeName) { this.nodeName = nodeName; } public String getIntentName() { return this.intentName; } public void setIntentName(String intentName) { this.intentName = intentName; } public String getMetaData() { return this.metaData; } public void setMetaData(String metaData) { this.metaData = metaData; } public Map<Object,Object> getExternalFlags() { return this.externalFlags; } public void setExternalFlags(Map<Object,Object> externalFlags) { this.externalFlags = externalFlags; } public Map<Object,Object> getExt() { return this.ext; } public void setExt(Map<Object,Object> ext) { this.ext = ext; } public String getUserDefinedChatTitle() { return this.userDefinedChatTitle; } public void setUserDefinedChatTitle(String userDefinedChatTitle) { this.userDefinedChatTitle = userDefinedChatTitle; } public String getContent() { return this.content; } public void setContent(String content) { this.content = content; } public String getNodeId() { return this.nodeId; } public void setNodeId(String nodeId) { this.nodeId = nodeId; } public String getContentType() { return this.contentType; } public void setContentType(String contentType) { this.contentType = contentType; } public List<SlotsItem> getSlots() { return this.slots; } public void setSlots(List<SlotsItem> slots) { this.slots = slots; } public static class SlotsItem { private String value; private String origin; private String name; private Boolean hit; public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } public String getOrigin() { return this.origin; } public void setOrigin(String origin) { this.origin = origin; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public Boolean getHit() { return this.hit; } public void setHit(Boolean hit) { this.hit = hit; } } } } } @Override public BeeBotChatResponse getInstance(UnmarshallerContext context) { return BeeBotChatResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappBindWabaRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class ChatappBindWabaRequest extends RpcAcsRequest<ChatappBindWabaResponse> { private Long resourceOwnerId; private String resourceOwnerAccount; private Long ownerId; private String wabaId; public ChatappBindWabaRequest() { super("cams", "2020-06-06", "ChatappBindWaba", "cams"); 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 getResourceOwnerId() { return this.resourceOwnerId; } public void setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; if(resourceOwnerId != null){ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); } } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public void setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; if(resourceOwnerAccount != null){ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getWabaId() { return this.wabaId; } public void setWabaId(String wabaId) { this.wabaId = wabaId; if(wabaId != null){ putQueryParameter("WabaId", wabaId); } } @Override public Class<ChatappBindWabaResponse> getResponseClass() { return ChatappBindWabaResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappBindWabaResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.ChatappBindWabaResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChatappBindWabaResponse extends AcsResponse { private String accessDeniedDetail; private String message; private String requestId; private String code; private Boolean success; private Data data; public String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } 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 custSpaceId; private String wabaId; public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; } public String getWabaId() { return this.wabaId; } public void setWabaId(String wabaId) { this.wabaId = wabaId; } } @Override public ChatappBindWabaResponse getInstance(UnmarshallerContext context) { return ChatappBindWabaResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappEmbedSignUpRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class ChatappEmbedSignUpRequest extends RpcAcsRequest<ChatappEmbedSignUpResponse> { private String inputToken; public ChatappEmbedSignUpRequest() { super("cams", "2020-06-06", "ChatappEmbedSignUp", "cams"); 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 getInputToken() { return this.inputToken; } public void setInputToken(String inputToken) { this.inputToken = inputToken; if(inputToken != null){ putBodyParameter("InputToken", inputToken); } } @Override public Class<ChatappEmbedSignUpResponse> getResponseClass() { return ChatappEmbedSignUpResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappEmbedSignUpResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.ChatappEmbedSignUpResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChatappEmbedSignUpResponse extends AcsResponse { private String requestId; private String code; private String message; private String accessDeniedDetail; private List<Waba列表> wabas; 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 String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } public List<Waba列表> getWabas() { return this.wabas; } public void setWabas(List<Waba列表> wabas) { this.wabas = wabas; } public static class Waba列表 { private String id; private String name; private String currency; private String accountReviewStatus; private String messageTemplateNamespace; public String getId() { return this.id; } public void setId(String id) { this.id = id; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getCurrency() { return this.currency; } public void setCurrency(String currency) { this.currency = currency; } public String getAccountReviewStatus() { return this.accountReviewStatus; } public void setAccountReviewStatus(String accountReviewStatus) { this.accountReviewStatus = accountReviewStatus; } public String getMessageTemplateNamespace() { return this.messageTemplateNamespace; } public void setMessageTemplateNamespace(String messageTemplateNamespace) { this.messageTemplateNamespace = messageTemplateNamespace; } } @Override public ChatappEmbedSignUpResponse getInstance(UnmarshallerContext context) { return ChatappEmbedSignUpResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappMigrationRegisterRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class ChatappMigrationRegisterRequest extends RpcAcsRequest<ChatappMigrationRegisterResponse> { private String phoneNumber; private String custSpaceId; public ChatappMigrationRegisterRequest() { super("cams", "2020-06-06", "ChatappMigrationRegister", "cams"); 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 getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; if(phoneNumber != null){ putQueryParameter("PhoneNumber", phoneNumber); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putQueryParameter("CustSpaceId", custSpaceId); } } @Override public Class<ChatappMigrationRegisterResponse> getResponseClass() { return ChatappMigrationRegisterResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappMigrationRegisterResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.ChatappMigrationRegisterResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChatappMigrationRegisterResponse extends AcsResponse { private String requestId; private String code; private String message; private String accessDeniedDetail; 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 String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } @Override public ChatappMigrationRegisterResponse getInstance(UnmarshallerContext context) { return ChatappMigrationRegisterResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappMigrationVerifiedRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class ChatappMigrationVerifiedRequest extends RpcAcsRequest<ChatappMigrationVerifiedResponse> { private String phoneNumber; private String verifyCode; private String custSpaceId; public ChatappMigrationVerifiedRequest() { super("cams", "2020-06-06", "ChatappMigrationVerified", "cams"); 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 getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; if(phoneNumber != null){ putQueryParameter("PhoneNumber", phoneNumber); } } public String getVerifyCode() { return this.verifyCode; } public void setVerifyCode(String verifyCode) { this.verifyCode = verifyCode; if(verifyCode != null){ putQueryParameter("VerifyCode", verifyCode); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putQueryParameter("CustSpaceId", custSpaceId); } } @Override public Class<ChatappMigrationVerifiedResponse> getResponseClass() { return ChatappMigrationVerifiedResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappMigrationVerifiedResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.ChatappMigrationVerifiedResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChatappMigrationVerifiedResponse extends AcsResponse { private String requestId; private String code; private String message; private String accessDeniedDetail; 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 String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String phoneNumber; private String id; public String getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } public String getId() { return this.id; } public void setId(String id) { this.id = id; } } @Override public ChatappMigrationVerifiedResponse getInstance(UnmarshallerContext context) { return ChatappMigrationVerifiedResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappPhoneNumberDeregisterRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class ChatappPhoneNumberDeregisterRequest extends RpcAcsRequest<ChatappPhoneNumberDeregisterResponse> { private String phoneNumber; private String custSpaceId; public ChatappPhoneNumberDeregisterRequest() { super("cams", "2020-06-06", "ChatappPhoneNumberDeregister", "cams"); 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 getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; if(phoneNumber != null){ putBodyParameter("PhoneNumber", phoneNumber); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putBodyParameter("CustSpaceId", custSpaceId); } } @Override public Class<ChatappPhoneNumberDeregisterResponse> getResponseClass() { return ChatappPhoneNumberDeregisterResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappPhoneNumberDeregisterResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.ChatappPhoneNumberDeregisterResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChatappPhoneNumberDeregisterResponse extends AcsResponse { private String requestId; private String code; private String message; private String accessDeniedDetail; 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 String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } @Override public ChatappPhoneNumberDeregisterResponse getInstance(UnmarshallerContext context) { return ChatappPhoneNumberDeregisterResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappPhoneNumberRegisterRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class ChatappPhoneNumberRegisterRequest extends RpcAcsRequest<ChatappPhoneNumberRegisterResponse> { private Long resourceOwnerId; private String phoneNumber; private String resourceOwnerAccount; private Long ownerId; private String custSpaceId; public ChatappPhoneNumberRegisterRequest() { super("cams", "2020-06-06", "ChatappPhoneNumberRegister", "cams"); 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 getResourceOwnerId() { return this.resourceOwnerId; } public void setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; if(resourceOwnerId != null){ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); } } public String getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; if(phoneNumber != null){ putQueryParameter("PhoneNumber", phoneNumber); } } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public void setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; if(resourceOwnerAccount != null){ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putQueryParameter("CustSpaceId", custSpaceId); } } @Override public Class<ChatappPhoneNumberRegisterResponse> getResponseClass() { return ChatappPhoneNumberRegisterResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappPhoneNumberRegisterResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.ChatappPhoneNumberRegisterResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChatappPhoneNumberRegisterResponse extends AcsResponse { private String accessDeniedDetail; private String message; private String requestId; private String code; private Boolean success; public String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } 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; } @Override public ChatappPhoneNumberRegisterResponse getInstance(UnmarshallerContext context) { return ChatappPhoneNumberRegisterResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappSyncPhoneNumberRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class ChatappSyncPhoneNumberRequest extends RpcAcsRequest<ChatappSyncPhoneNumberResponse> { private Long resourceOwnerId; private String resourceOwnerAccount; private Long ownerId; private String custSpaceId; public ChatappSyncPhoneNumberRequest() { super("cams", "2020-06-06", "ChatappSyncPhoneNumber", "cams"); 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 getResourceOwnerId() { return this.resourceOwnerId; } public void setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; if(resourceOwnerId != null){ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); } } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public void setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; if(resourceOwnerAccount != null){ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putQueryParameter("CustSpaceId", custSpaceId); } } @Override public Class<ChatappSyncPhoneNumberResponse> getResponseClass() { return ChatappSyncPhoneNumberResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappSyncPhoneNumberResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.ChatappSyncPhoneNumberResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChatappSyncPhoneNumberResponse extends AcsResponse { private String accessDeniedDetail; private String message; private String requestId; private String code; private Boolean success; private List<Content> phoneNumbers; public String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } 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 List<Content> getPhoneNumbers() { return this.phoneNumbers; } public void setPhoneNumbers(List<Content> phoneNumbers) { this.phoneNumbers = phoneNumbers; } public static class Content { private String verifiedName; private String status; private String qualityRating; private String codeVerificationStatus; private String newNameStatus; private String phoneNumber; private String statusQueue; private String upQueue; private String nameStatus; private String upCallbackUrl; private String messagingLimitTier; private String statusCallbackUrl; public String getVerifiedName() { return this.verifiedName; } public void setVerifiedName(String verifiedName) { this.verifiedName = verifiedName; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getQualityRating() { return this.qualityRating; } public void setQualityRating(String qualityRating) { this.qualityRating = qualityRating; } public String getCodeVerificationStatus() { return this.codeVerificationStatus; } public void setCodeVerificationStatus(String codeVerificationStatus) { this.codeVerificationStatus = codeVerificationStatus; } public String getNewNameStatus() { return this.newNameStatus; } public void setNewNameStatus(String newNameStatus) { this.newNameStatus = newNameStatus; } public String getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } public String getStatusQueue() { return this.statusQueue; } public void setStatusQueue(String statusQueue) { this.statusQueue = statusQueue; } public String getUpQueue() { return this.upQueue; } public void setUpQueue(String upQueue) { this.upQueue = upQueue; } public String getNameStatus() { return this.nameStatus; } public void setNameStatus(String nameStatus) { this.nameStatus = nameStatus; } public String getUpCallbackUrl() { return this.upCallbackUrl; } public void setUpCallbackUrl(String upCallbackUrl) { this.upCallbackUrl = upCallbackUrl; } public String getMessagingLimitTier() { return this.messagingLimitTier; } public void setMessagingLimitTier(String messagingLimitTier) { this.messagingLimitTier = messagingLimitTier; } public String getStatusCallbackUrl() { return this.statusCallbackUrl; } public void setStatusCallbackUrl(String statusCallbackUrl) { this.statusCallbackUrl = statusCallbackUrl; } } @Override public ChatappSyncPhoneNumberResponse getInstance(UnmarshallerContext context) { return ChatappSyncPhoneNumberResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappVerifyAndRegisterRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class ChatappVerifyAndRegisterRequest extends RpcAcsRequest<ChatappVerifyAndRegisterResponse> { private Long resourceOwnerId; private String phoneNumber; private String verifyCode; private String resourceOwnerAccount; private Long ownerId; private String custSpaceId; public ChatappVerifyAndRegisterRequest() { super("cams", "2020-06-06", "ChatappVerifyAndRegister", "cams"); 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 getResourceOwnerId() { return this.resourceOwnerId; } public void setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; if(resourceOwnerId != null){ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); } } public String getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; if(phoneNumber != null){ putQueryParameter("PhoneNumber", phoneNumber); } } public String getVerifyCode() { return this.verifyCode; } public void setVerifyCode(String verifyCode) { this.verifyCode = verifyCode; if(verifyCode != null){ putQueryParameter("VerifyCode", verifyCode); } } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public void setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; if(resourceOwnerAccount != null){ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putQueryParameter("CustSpaceId", custSpaceId); } } @Override public Class<ChatappVerifyAndRegisterResponse> getResponseClass() { return ChatappVerifyAndRegisterResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/ChatappVerifyAndRegisterResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.ChatappVerifyAndRegisterResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class ChatappVerifyAndRegisterResponse extends AcsResponse { private String accessDeniedDetail; private String message; private String requestId; private String code; private Boolean success; public String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } 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; } @Override public ChatappVerifyAndRegisterResponse getInstance(UnmarshallerContext context) { return ChatappVerifyAndRegisterResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/CreateChatappMigrationInitiateRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class CreateChatappMigrationInitiateRequest extends RpcAcsRequest<CreateChatappMigrationInitiateResponse> { private String mobileNumber; private String countryCode; private String custSpaceId; public CreateChatappMigrationInitiateRequest() { super("cams", "2020-06-06", "CreateChatappMigrationInitiate", "cams"); 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 getMobileNumber() { return this.mobileNumber; } public void setMobileNumber(String mobileNumber) { this.mobileNumber = mobileNumber; if(mobileNumber != null){ putQueryParameter("MobileNumber", mobileNumber); } } public String getCountryCode() { return this.countryCode; } public void setCountryCode(String countryCode) { this.countryCode = countryCode; if(countryCode != null){ putQueryParameter("CountryCode", countryCode); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putQueryParameter("CustSpaceId", custSpaceId); } } @Override public Class<CreateChatappMigrationInitiateResponse> getResponseClass() { return CreateChatappMigrationInitiateResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/CreateChatappMigrationInitiateResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.CreateChatappMigrationInitiateResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateChatappMigrationInitiateResponse extends AcsResponse { private String requestId; private String code; private String message; private String accessDeniedDetail; 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 String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String phoneNumber; private String id; private String status; public String getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } public String getId() { return this.id; } public void setId(String id) { this.id = id; } public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } } @Override public CreateChatappMigrationInitiateResponse getInstance(UnmarshallerContext context) { return CreateChatappMigrationInitiateResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/CreateChatappTemplateRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; 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.cams.Endpoint; /** * @author auto create * @version */ public class CreateChatappTemplateRequest extends RpcAcsRequest<CreateChatappTemplateResponse> { @SerializedName("components") private List<Components> components; private String language; private String custWabaId; @SerializedName("example") private Map<String,String> example; private String templateType; private String isvCode; private String custSpaceId; private String name; private Boolean allowCategoryChange; private String category; private Integer messageSendTtlSeconds; public CreateChatappTemplateRequest() { super("cams", "2020-06-06", "CreateChatappTemplate", "cams"); 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<Components> getComponents() { return this.components; } public void setComponents(List<Components> components) { this.components = components; if (components != null) { putBodyParameter("Components" , new Gson().toJson(components)); } } public String getLanguage() { return this.language; } public void setLanguage(String language) { this.language = language; if(language != null){ putBodyParameter("Language", language); } } public String getCustWabaId() { return this.custWabaId; } public void setCustWabaId(String custWabaId) { this.custWabaId = custWabaId; if(custWabaId != null){ putBodyParameter("CustWabaId", custWabaId); } } public Map<String,String> getExample() { return this.example; } public void setExample(Map<String,String> example) { this.example = example; if (example != null) { putBodyParameter("Example" , new Gson().toJson(example)); } } public String getTemplateType() { return this.templateType; } public void setTemplateType(String templateType) { this.templateType = templateType; if(templateType != null){ putBodyParameter("TemplateType", templateType); } } public String getIsvCode() { return this.isvCode; } public void setIsvCode(String isvCode) { this.isvCode = isvCode; if(isvCode != null){ putBodyParameter("IsvCode", isvCode); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putBodyParameter("CustSpaceId", custSpaceId); } } public String getName() { return this.name; } public void setName(String name) { this.name = name; if(name != null){ putBodyParameter("Name", name); } } public Boolean getAllowCategoryChange() { return this.allowCategoryChange; } public void setAllowCategoryChange(Boolean allowCategoryChange) { this.allowCategoryChange = allowCategoryChange; if(allowCategoryChange != null){ putBodyParameter("AllowCategoryChange", allowCategoryChange.toString()); } } public String getCategory() { return this.category; } public void setCategory(String category) { this.category = category; if(category != null){ putBodyParameter("Category", category); } } public Integer getMessageSendTtlSeconds() { return this.messageSendTtlSeconds; } public void setMessageSendTtlSeconds(Integer messageSendTtlSeconds) { this.messageSendTtlSeconds = messageSendTtlSeconds; if(messageSendTtlSeconds != null){ putBodyParameter("MessageSendTtlSeconds", messageSendTtlSeconds.toString()); } } public static class Components { @SerializedName("Type") private String type; @SerializedName("Text") private String text; @SerializedName("Format") private String format; @SerializedName("Url") private String url; @SerializedName("Caption") private String caption; @SerializedName("FileName") private String fileName; @SerializedName("Buttons") private List<ButtonsItem> buttons; @SerializedName("ThumbUrl") private String thumbUrl; @SerializedName("Duration") private Integer duration; @SerializedName("FileType") private String fileType; @SerializedName("CodeExpirationMinutes") private Integer codeExpirationMinutes; @SerializedName("AddSecretRecommendation") private Boolean addSecretRecommendation; @SerializedName("HasExpiration") private Boolean hasExpiration; @SerializedName("Cards") private List<CardsItem> cards; public String getType() { return this.type; } public void setType(String type) { this.type = type; } public String getText() { return this.text; } public void setText(String text) { this.text = text; } public String getFormat() { return this.format; } public void setFormat(String format) { this.format = format; } public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; } public String getCaption() { return this.caption; } public void setCaption(String caption) { this.caption = caption; } public String getFileName() { return this.fileName; } public void setFileName(String fileName) { this.fileName = fileName; } public List<ButtonsItem> getButtons() { return this.buttons; } public void setButtons(List<ButtonsItem> buttons) { this.buttons = buttons; } public String getThumbUrl() { return this.thumbUrl; } public void setThumbUrl(String thumbUrl) { this.thumbUrl = thumbUrl; } public Integer getDuration() { return this.duration; } public void setDuration(Integer duration) { this.duration = duration; } public String getFileType() { return this.fileType; } public void setFileType(String fileType) { this.fileType = fileType; } public Integer getCodeExpirationMinutes() { return this.codeExpirationMinutes; } public void setCodeExpirationMinutes(Integer codeExpirationMinutes) { this.codeExpirationMinutes = codeExpirationMinutes; } public Boolean getAddSecretRecommendation() { return this.addSecretRecommendation; } public void setAddSecretRecommendation(Boolean addSecretRecommendation) { this.addSecretRecommendation = addSecretRecommendation; } public Boolean getHasExpiration() { return this.hasExpiration; } public void setHasExpiration(Boolean hasExpiration) { this.hasExpiration = hasExpiration; } public List<CardsItem> getCards() { return this.cards; } public void setCards(List<CardsItem> cards) { this.cards = cards; } public static class ButtonsItem { @SerializedName("Type") private String type; @SerializedName("Text") private String text; @SerializedName("PhoneNumber") private String phoneNumber; @SerializedName("Url") private String url; @SerializedName("UrlType") private String urlType; @SerializedName("SignatureHash") private String signatureHash; @SerializedName("PackageName") private String packageName; @SerializedName("AutofillText") private String autofillText; @SerializedName("IsOptOut") private Boolean isOptOut; @SerializedName("CouponCode") private String couponCode; @SerializedName("FlowId") private String flowId; @SerializedName("FlowAction") private String flowAction; @SerializedName("NavigateScreen") private String navigateScreen; @SerializedName("SupportedApps") private List<SupportedAppsItem> supportedApps; public String getType() { return this.type; } public void setType(String type) { this.type = type; } public String getText() { return this.text; } public void setText(String text) { this.text = text; } public String getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; } public String getUrlType() { return this.urlType; } public void setUrlType(String urlType) { this.urlType = urlType; } public String getSignatureHash() { return this.signatureHash; } public void setSignatureHash(String signatureHash) { this.signatureHash = signatureHash; } public String getPackageName() { return this.packageName; } public void setPackageName(String packageName) { this.packageName = packageName; } public String getAutofillText() { return this.autofillText; } public void setAutofillText(String autofillText) { this.autofillText = autofillText; } public Boolean getIsOptOut() { return this.isOptOut; } public void setIsOptOut(Boolean isOptOut) { this.isOptOut = isOptOut; } public String getCouponCode() { return this.couponCode; } public void setCouponCode(String couponCode) { this.couponCode = couponCode; } public String getFlowId() { return this.flowId; } public void setFlowId(String flowId) { this.flowId = flowId; } public String getFlowAction() { return this.flowAction; } public void setFlowAction(String flowAction) { this.flowAction = flowAction; } public String getNavigateScreen() { return this.navigateScreen; } public void setNavigateScreen(String navigateScreen) { this.navigateScreen = navigateScreen; } public List<SupportedAppsItem> getSupportedApps() { return this.supportedApps; } public void setSupportedApps(List<SupportedAppsItem> supportedApps) { this.supportedApps = supportedApps; } public static class SupportedAppsItem { @SerializedName("SignatureHash") private String signatureHash; @SerializedName("PackageName") private String packageName; public String getSignatureHash() { return this.signatureHash; } public void setSignatureHash(String signatureHash) { this.signatureHash = signatureHash; } public String getPackageName() { return this.packageName; } public void setPackageName(String packageName) { this.packageName = packageName; } } } public static class CardsItem { @SerializedName("CardComponents") private List<CardComponentsItem> cardComponents; public List<CardComponentsItem> getCardComponents() { return this.cardComponents; } public void setCardComponents(List<CardComponentsItem> cardComponents) { this.cardComponents = cardComponents; } public static class CardComponentsItem { @SerializedName("Type") private String type; @SerializedName("Format") private String format; @SerializedName("Text") private String text; @SerializedName("Url") private String url; @SerializedName("Buttons") private List<ButtonsItem> buttons; public String getType() { return this.type; } public void setType(String type) { this.type = type; } public String getFormat() { return this.format; } public void setFormat(String format) { this.format = format; } public String getText() { return this.text; } public void setText(String text) { this.text = text; } public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; } public List<ButtonsItem> getButtons() { return this.buttons; } public void setButtons(List<ButtonsItem> buttons) { this.buttons = buttons; } public static class ButtonsItem { @SerializedName("Text") private String text; @SerializedName("Type") private String type; @SerializedName("Url") private String url; @SerializedName("UrlType") private String urlType; @SerializedName("PhoneNumber") private String phoneNumber; public String getText() { return this.text; } public void setText(String text) { this.text = text; } public String getType() { return this.type; } public void setType(String type) { this.type = type; } public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; } public String getUrlType() { return this.urlType; } public void setUrlType(String urlType) { this.urlType = urlType; } public String getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } } } } } @Override public Class<CreateChatappTemplateResponse> getResponseClass() { return CreateChatappTemplateResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/CreateChatappTemplateResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.CreateChatappTemplateResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateChatappTemplateResponse extends AcsResponse { private String requestId; private String code; private String message; private String accessDeniedDetail; 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 String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String templateCode; private String templateName; public String getTemplateCode() { return this.templateCode; } public void setTemplateCode(String templateCode) { this.templateCode = templateCode; } public String getTemplateName() { return this.templateName; } public void setTemplateName(String templateName) { this.templateName = templateName; } } @Override public CreateChatappTemplateResponse getInstance(UnmarshallerContext context) { return CreateChatappTemplateResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/CreateFlowRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import java.util.List; import com.google.gson.Gson; import com.google.gson.annotations.SerializedName; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class CreateFlowRequest extends RpcAcsRequest<CreateFlowResponse> { @SerializedName("categories") private List<String> categories; private String custSpaceId; private String flowName; public CreateFlowRequest() { super("cams", "2020-06-06", "CreateFlow", "cams"); 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> getCategories() { return this.categories; } public void setCategories(List<String> categories) { this.categories = categories; if (categories != null) { putBodyParameter("Categories" , new Gson().toJson(categories)); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putBodyParameter("CustSpaceId", custSpaceId); } } public String getFlowName() { return this.flowName; } public void setFlowName(String flowName) { this.flowName = flowName; if(flowName != null){ putBodyParameter("FlowName", flowName); } } @Override public Class<CreateFlowResponse> getResponseClass() { return CreateFlowResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/CreateFlowResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.CreateFlowResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateFlowResponse extends AcsResponse { private String requestId; private String code; private String message; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String flowId; private String flowName; private List<String> categories; public String getFlowId() { return this.flowId; } public void setFlowId(String flowId) { this.flowId = flowId; } public String getFlowName() { return this.flowName; } public void setFlowName(String flowName) { this.flowName = flowName; } public List<String> getCategories() { return this.categories; } public void setCategories(List<String> categories) { this.categories = categories; } } @Override public CreateFlowResponse getInstance(UnmarshallerContext context) { return CreateFlowResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/CreatePhoneMessageQrdlRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class CreatePhoneMessageQrdlRequest extends RpcAcsRequest<CreatePhoneMessageQrdlResponse> { private String phoneNumber; private String prefilledMessage; private String generateQrImage; private String custSpaceId; public CreatePhoneMessageQrdlRequest() { super("cams", "2020-06-06", "CreatePhoneMessageQrdl", "cams"); 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 getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; if(phoneNumber != null){ putBodyParameter("PhoneNumber", phoneNumber); } } public String getPrefilledMessage() { return this.prefilledMessage; } public void setPrefilledMessage(String prefilledMessage) { this.prefilledMessage = prefilledMessage; if(prefilledMessage != null){ putBodyParameter("PrefilledMessage", prefilledMessage); } } public String getGenerateQrImage() { return this.generateQrImage; } public void setGenerateQrImage(String generateQrImage) { this.generateQrImage = generateQrImage; if(generateQrImage != null){ putBodyParameter("GenerateQrImage", generateQrImage); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putBodyParameter("CustSpaceId", custSpaceId); } } @Override public Class<CreatePhoneMessageQrdlResponse> getResponseClass() { return CreatePhoneMessageQrdlResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/CreatePhoneMessageQrdlResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.CreatePhoneMessageQrdlResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreatePhoneMessageQrdlResponse extends AcsResponse { private String requestId; private String code; private String message; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getCode() { return this.code; } public void setCode(String code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String phoneNumber; private String qrdlCode; private String generateQrImage; private String prefilledMessage; private String deepLinkUrl; private String qrImageUrl; public String getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } public String getQrdlCode() { return this.qrdlCode; } public void setQrdlCode(String qrdlCode) { this.qrdlCode = qrdlCode; } public String getGenerateQrImage() { return this.generateQrImage; } public void setGenerateQrImage(String generateQrImage) { this.generateQrImage = generateQrImage; } public String getPrefilledMessage() { return this.prefilledMessage; } public void setPrefilledMessage(String prefilledMessage) { this.prefilledMessage = prefilledMessage; } public String getDeepLinkUrl() { return this.deepLinkUrl; } public void setDeepLinkUrl(String deepLinkUrl) { this.deepLinkUrl = deepLinkUrl; } public String getQrImageUrl() { return this.qrImageUrl; } public void setQrImageUrl(String qrImageUrl) { this.qrImageUrl = qrImageUrl; } } @Override public CreatePhoneMessageQrdlResponse getInstance(UnmarshallerContext context) { return CreatePhoneMessageQrdlResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/DeleteChatappTemplateRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class DeleteChatappTemplateRequest extends RpcAcsRequest<DeleteChatappTemplateResponse> { private Long resourceOwnerId; private String custWabaId; private String language; private String templateType; private String templateName; private String isvCode; private String resourceOwnerAccount; private Long ownerId; private String custSpaceId; private String templateCode; public DeleteChatappTemplateRequest() { super("cams", "2020-06-06", "DeleteChatappTemplate", "cams"); 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 getResourceOwnerId() { return this.resourceOwnerId; } public void setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; if(resourceOwnerId != null){ putQueryParameter("ResourceOwnerId", resourceOwnerId.toString()); } } public String getCustWabaId() { return this.custWabaId; } public void setCustWabaId(String custWabaId) { this.custWabaId = custWabaId; if(custWabaId != null){ putQueryParameter("CustWabaId", custWabaId); } } public String getLanguage() { return this.language; } public void setLanguage(String language) { this.language = language; if(language != null){ putQueryParameter("Language", language); } } public String getTemplateType() { return this.templateType; } public void setTemplateType(String templateType) { this.templateType = templateType; if(templateType != null){ putQueryParameter("TemplateType", templateType); } } public String getTemplateName() { return this.templateName; } public void setTemplateName(String templateName) { this.templateName = templateName; if(templateName != null){ putQueryParameter("TemplateName", templateName); } } public String getIsvCode() { return this.isvCode; } public void setIsvCode(String isvCode) { this.isvCode = isvCode; if(isvCode != null){ putQueryParameter("IsvCode", isvCode); } } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public void setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; if(resourceOwnerAccount != null){ putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount); } } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putQueryParameter("CustSpaceId", custSpaceId); } } public String getTemplateCode() { return this.templateCode; } public void setTemplateCode(String templateCode) { this.templateCode = templateCode; if(templateCode != null){ putQueryParameter("TemplateCode", templateCode); } } @Override public Class<DeleteChatappTemplateResponse> getResponseClass() { return DeleteChatappTemplateResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/DeleteChatappTemplateResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.DeleteChatappTemplateResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeleteChatappTemplateResponse extends AcsResponse { private String accessDeniedDetail; private String message; private String requestId; private String code; private Boolean success; public String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } 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; } @Override public DeleteChatappTemplateResponse getInstance(UnmarshallerContext context) { return DeleteChatappTemplateResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/DeleteFlowRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class DeleteFlowRequest extends RpcAcsRequest<DeleteFlowResponse> { private String custSpaceId; private String flowId; public DeleteFlowRequest() { super("cams", "2020-06-06", "DeleteFlow", "cams"); 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 getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putBodyParameter("CustSpaceId", custSpaceId); } } public String getFlowId() { return this.flowId; } public void setFlowId(String flowId) { this.flowId = flowId; if(flowId != null){ putBodyParameter("FlowId", flowId); } } @Override public Class<DeleteFlowResponse> getResponseClass() { return DeleteFlowResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/DeleteFlowResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.DeleteFlowResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeleteFlowResponse extends AcsResponse { private String requestId; private String code; private String 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 String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } @Override public DeleteFlowResponse getInstance(UnmarshallerContext context) { return DeleteFlowResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/DeletePhoneMessageQrdlRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class DeletePhoneMessageQrdlRequest extends RpcAcsRequest<DeletePhoneMessageQrdlResponse> { private String phoneNumber; private String qrdlCode; private String custSpaceId; public DeletePhoneMessageQrdlRequest() { super("cams", "2020-06-06", "DeletePhoneMessageQrdl", "cams"); 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 getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; if(phoneNumber != null){ putBodyParameter("PhoneNumber", phoneNumber); } } public String getQrdlCode() { return this.qrdlCode; } public void setQrdlCode(String qrdlCode) { this.qrdlCode = qrdlCode; if(qrdlCode != null){ putBodyParameter("QrdlCode", qrdlCode); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putBodyParameter("CustSpaceId", custSpaceId); } } @Override public Class<DeletePhoneMessageQrdlResponse> getResponseClass() { return DeletePhoneMessageQrdlResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/DeletePhoneMessageQrdlResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.DeletePhoneMessageQrdlResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeletePhoneMessageQrdlResponse extends AcsResponse { private String requestId; private String code; private String 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 String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } @Override public DeletePhoneMessageQrdlResponse getInstance(UnmarshallerContext context) { return DeletePhoneMessageQrdlResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/DeprecateFlowRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class DeprecateFlowRequest extends RpcAcsRequest<DeprecateFlowResponse> { private String custSpaceId; private String flowId; public DeprecateFlowRequest() { super("cams", "2020-06-06", "DeprecateFlow", "cams"); 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 getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putBodyParameter("CustSpaceId", custSpaceId); } } public String getFlowId() { return this.flowId; } public void setFlowId(String flowId) { this.flowId = flowId; if(flowId != null){ putBodyParameter("FlowId", flowId); } } @Override public Class<DeprecateFlowResponse> getResponseClass() { return DeprecateFlowResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/DeprecateFlowResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.DeprecateFlowResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class DeprecateFlowResponse extends AcsResponse { private String requestId; private String code; private String 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 String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } @Override public DeprecateFlowResponse getInstance(UnmarshallerContext context) { return DeprecateFlowResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/EnableWhatsappROIMetricRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class EnableWhatsappROIMetricRequest extends RpcAcsRequest<EnableWhatsappROIMetricResponse> { private String isvCode; private String custSpaceId; public EnableWhatsappROIMetricRequest() { super("cams", "2020-06-06", "EnableWhatsappROIMetric", "cams"); 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 getIsvCode() { return this.isvCode; } public void setIsvCode(String isvCode) { this.isvCode = isvCode; if(isvCode != null){ putQueryParameter("IsvCode", isvCode); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putQueryParameter("CustSpaceId", custSpaceId); } } @Override public Class<EnableWhatsappROIMetricResponse> getResponseClass() { return EnableWhatsappROIMetricResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/EnableWhatsappROIMetricResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.EnableWhatsappROIMetricResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class EnableWhatsappROIMetricResponse extends AcsResponse { private String requestId; private String code; private String message; private String accessDeniedDetail; 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 String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } @Override public EnableWhatsappROIMetricResponse getInstance(UnmarshallerContext context) { return EnableWhatsappROIMetricResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetChatappPhoneNumberMetricRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class GetChatappPhoneNumberMetricRequest extends RpcAcsRequest<GetChatappPhoneNumberMetricResponse> { private String phoneNumber; private Long end; private String isvCode; private Long start; private String custSpaceId; private String granularity; public GetChatappPhoneNumberMetricRequest() { super("cams", "2020-06-06", "GetChatappPhoneNumberMetric", "cams"); 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 getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; if(phoneNumber != null){ putQueryParameter("PhoneNumber", phoneNumber); } } public Long getEnd() { return this.end; } public void setEnd(Long end) { this.end = end; if(end != null){ putQueryParameter("End", end.toString()); } } public String getIsvCode() { return this.isvCode; } public void setIsvCode(String isvCode) { this.isvCode = isvCode; if(isvCode != null){ putQueryParameter("IsvCode", isvCode); } } public Long getStart() { return this.start; } public void setStart(Long start) { this.start = start; if(start != null){ putQueryParameter("Start", start.toString()); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putQueryParameter("CustSpaceId", custSpaceId); } } public String getGranularity() { return this.granularity; } public void setGranularity(String granularity) { this.granularity = granularity; if(granularity != null){ putQueryParameter("Granularity", granularity); } } @Override public Class<GetChatappPhoneNumberMetricResponse> getResponseClass() { return GetChatappPhoneNumberMetricResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetChatappPhoneNumberMetricResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.GetChatappPhoneNumberMetricResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetChatappPhoneNumberMetricResponse extends AcsResponse { private String requestId; private String code; private String message; private String accessDeniedDetail; private List<返回数据> 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 String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } public List<返回数据> getData() { return this.data; } public void setData(List<返回数据> data) { this.data = data; } public static class 返回数据 { private Integer sentCount; private Integer deliveredCount; private Long start; private Long end; private String phoneNumber; private String granularity; public Integer getSentCount() { return this.sentCount; } public void setSentCount(Integer sentCount) { this.sentCount = sentCount; } public Integer getDeliveredCount() { return this.deliveredCount; } public void setDeliveredCount(Integer deliveredCount) { this.deliveredCount = deliveredCount; } public Long getStart() { return this.start; } public void setStart(Long start) { this.start = start; } public Long getEnd() { return this.end; } public void setEnd(Long end) { this.end = end; } public String getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } public String getGranularity() { return this.granularity; } public void setGranularity(String granularity) { this.granularity = granularity; } } @Override public GetChatappPhoneNumberMetricResponse getInstance(UnmarshallerContext context) { return GetChatappPhoneNumberMetricResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetChatappTemplateDetailRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class GetChatappTemplateDetailRequest extends RpcAcsRequest<GetChatappTemplateDetailResponse> { private String language; private String custWabaId; private String templateType; private String templateName; private String isvCode; private String custSpaceId; private String templateCode; public GetChatappTemplateDetailRequest() { super("cams", "2020-06-06", "GetChatappTemplateDetail", "cams"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getLanguage() { return this.language; } public void setLanguage(String language) { this.language = language; if(language != null){ putQueryParameter("Language", language); } } public String getCustWabaId() { return this.custWabaId; } public void setCustWabaId(String custWabaId) { this.custWabaId = custWabaId; if(custWabaId != null){ putQueryParameter("CustWabaId", custWabaId); } } public String getTemplateType() { return this.templateType; } public void setTemplateType(String templateType) { this.templateType = templateType; if(templateType != null){ putQueryParameter("TemplateType", templateType); } } public String getTemplateName() { return this.templateName; } public void setTemplateName(String templateName) { this.templateName = templateName; if(templateName != null){ putQueryParameter("TemplateName", templateName); } } public String getIsvCode() { return this.isvCode; } public void setIsvCode(String isvCode) { this.isvCode = isvCode; if(isvCode != null){ putQueryParameter("IsvCode", isvCode); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putQueryParameter("CustSpaceId", custSpaceId); } } public String getTemplateCode() { return this.templateCode; } public void setTemplateCode(String templateCode) { this.templateCode = templateCode; if(templateCode != null){ putQueryParameter("TemplateCode", templateCode); } } @Override public Class<GetChatappTemplateDetailResponse> getResponseClass() { return GetChatappTemplateDetailResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetChatappTemplateDetailResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import java.util.List; import java.util.Map; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.GetChatappTemplateDetailResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetChatappTemplateDetailResponse extends AcsResponse { private String requestId; private String code; private String message; private String accessDeniedDetail; 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 String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String category; private String templateCode; private String name; private String language; private Map<Object,Object> example; private String auditStatus; private String templateType; private String qualityScore; private Integer messageSendTtlSeconds; private String reason; private List<Component> components; public String getCategory() { return this.category; } public void setCategory(String category) { this.category = category; } public String getTemplateCode() { return this.templateCode; } public void setTemplateCode(String templateCode) { this.templateCode = templateCode; } public String getName() { return this.name; } public void setName(String name) { this.name = name; } public String getLanguage() { return this.language; } public void setLanguage(String language) { this.language = language; } public Map<Object,Object> getExample() { return this.example; } public void setExample(Map<Object,Object> example) { this.example = example; } public String getAuditStatus() { return this.auditStatus; } public void setAuditStatus(String auditStatus) { this.auditStatus = auditStatus; } public String getTemplateType() { return this.templateType; } public void setTemplateType(String templateType) { this.templateType = templateType; } public String getQualityScore() { return this.qualityScore; } public void setQualityScore(String qualityScore) { this.qualityScore = qualityScore; } public Integer getMessageSendTtlSeconds() { return this.messageSendTtlSeconds; } public void setMessageSendTtlSeconds(Integer messageSendTtlSeconds) { this.messageSendTtlSeconds = messageSendTtlSeconds; } public String getReason() { return this.reason; } public void setReason(String reason) { this.reason = reason; } public List<Component> getComponents() { return this.components; } public void setComponents(List<Component> components) { this.components = components; } public static class Component { private String type; private String url; private String text; private String caption; private String fileName; private String format; private String thumbUrl; private Integer duration; private String fileType; private String latitude; private String longitude; private String locationName; private String locationAddress; private Boolean addSecretRecommendation; private Integer codeExpirationMinutes; private Boolean hasExpiration; private String offerExpirationTimeMs; private List<Button> buttons; private List<轮播卡片列表> cards; public String getType() { return this.type; } public void setType(String type) { this.type = type; } public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; } public String getText() { return this.text; } public void setText(String text) { this.text = text; } public String getCaption() { return this.caption; } public void setCaption(String caption) { this.caption = caption; } public String getFileName() { return this.fileName; } public void setFileName(String fileName) { this.fileName = fileName; } public String getFormat() { return this.format; } public void setFormat(String format) { this.format = format; } public String getThumbUrl() { return this.thumbUrl; } public void setThumbUrl(String thumbUrl) { this.thumbUrl = thumbUrl; } public Integer getDuration() { return this.duration; } public void setDuration(Integer duration) { this.duration = duration; } public String getFileType() { return this.fileType; } public void setFileType(String fileType) { this.fileType = fileType; } public String getLatitude() { return this.latitude; } public void setLatitude(String latitude) { this.latitude = latitude; } public String getLongitude() { return this.longitude; } public void setLongitude(String longitude) { this.longitude = longitude; } public String getLocationName() { return this.locationName; } public void setLocationName(String locationName) { this.locationName = locationName; } public String getLocationAddress() { return this.locationAddress; } public void setLocationAddress(String locationAddress) { this.locationAddress = locationAddress; } public Boolean getAddSecretRecommendation() { return this.addSecretRecommendation; } public void setAddSecretRecommendation(Boolean addSecretRecommendation) { this.addSecretRecommendation = addSecretRecommendation; } public Integer getCodeExpirationMinutes() { return this.codeExpirationMinutes; } public void setCodeExpirationMinutes(Integer codeExpirationMinutes) { this.codeExpirationMinutes = codeExpirationMinutes; } public Boolean getHasExpiration() { return this.hasExpiration; } public void setHasExpiration(Boolean hasExpiration) { this.hasExpiration = hasExpiration; } public String getOfferExpirationTimeMs() { return this.offerExpirationTimeMs; } public void setOfferExpirationTimeMs(String offerExpirationTimeMs) { this.offerExpirationTimeMs = offerExpirationTimeMs; } public List<Button> getButtons() { return this.buttons; } public void setButtons(List<Button> buttons) { this.buttons = buttons; } public List<轮播卡片列表> getCards() { return this.cards; } public void setCards(List<轮播卡片列表> cards) { this.cards = cards; } public static class Button { private String type; private String text; private String phoneNumber; private String url; private String urlType; private String signatureHash; private String packageName; private String autofillText; private Boolean isOptOut; private String couponCode; private String flowId; private String flowAction; private String navigateScreen; private List<SupportedAppsItem> supportedApps; private ExtendAttrs extendAttrs; public String getType() { return this.type; } public void setType(String type) { this.type = type; } public String getText() { return this.text; } public void setText(String text) { this.text = text; } public String getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; } public String getUrlType() { return this.urlType; } public void setUrlType(String urlType) { this.urlType = urlType; } public String getSignatureHash() { return this.signatureHash; } public void setSignatureHash(String signatureHash) { this.signatureHash = signatureHash; } public String getPackageName() { return this.packageName; } public void setPackageName(String packageName) { this.packageName = packageName; } public String getAutofillText() { return this.autofillText; } public void setAutofillText(String autofillText) { this.autofillText = autofillText; } public Boolean getIsOptOut() { return this.isOptOut; } public void setIsOptOut(Boolean isOptOut) { this.isOptOut = isOptOut; } public String getCouponCode() { return this.couponCode; } public void setCouponCode(String couponCode) { this.couponCode = couponCode; } public String getFlowId() { return this.flowId; } public void setFlowId(String flowId) { this.flowId = flowId; } public String getFlowAction() { return this.flowAction; } public void setFlowAction(String flowAction) { this.flowAction = flowAction; } public String getNavigateScreen() { return this.navigateScreen; } public void setNavigateScreen(String navigateScreen) { this.navigateScreen = navigateScreen; } public List<SupportedAppsItem> getSupportedApps() { return this.supportedApps; } public void setSupportedApps(List<SupportedAppsItem> supportedApps) { this.supportedApps = supportedApps; } public ExtendAttrs getExtendAttrs() { return this.extendAttrs; } public void setExtendAttrs(ExtendAttrs extendAttrs) { this.extendAttrs = extendAttrs; } public static class SupportedAppsItem { private String signatureHash; private String packageName; public String getSignatureHash() { return this.signatureHash; } public void setSignatureHash(String signatureHash) { this.signatureHash = signatureHash; } public String getPackageName() { return this.packageName; } public void setPackageName(String packageName) { this.packageName = packageName; } } public static class ExtendAttrs { private String nextTemplateCode; private String nextTemplateName; private String nextLanguageCode; private String action; private String intentCode; public String getNextTemplateCode() { return this.nextTemplateCode; } public void setNextTemplateCode(String nextTemplateCode) { this.nextTemplateCode = nextTemplateCode; } public String getNextTemplateName() { return this.nextTemplateName; } public void setNextTemplateName(String nextTemplateName) { this.nextTemplateName = nextTemplateName; } public String getNextLanguageCode() { return this.nextLanguageCode; } public void setNextLanguageCode(String nextLanguageCode) { this.nextLanguageCode = nextLanguageCode; } public String getAction() { return this.action; } public void setAction(String action) { this.action = action; } public String getIntentCode() { return this.intentCode; } public void setIntentCode(String intentCode) { this.intentCode = intentCode; } } } public static class 轮播卡片列表 { private List<卡片控件列表> cardComponents; public List<卡片控件列表> getCardComponents() { return this.cardComponents; } public void setCardComponents(List<卡片控件列表> cardComponents) { this.cardComponents = cardComponents; } public static class 卡片控件列表 { private String type; private String text; private String url; private String format; private List<卡片按钮列表> buttons1; public String getType() { return this.type; } public void setType(String type) { this.type = type; } public String getText() { return this.text; } public void setText(String text) { this.text = text; } public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; } public String getFormat() { return this.format; } public void setFormat(String format) { this.format = format; } public List<卡片按钮列表> getButtons1() { return this.buttons1; } public void setButtons1(List<卡片按钮列表> buttons1) { this.buttons1 = buttons1; } public static class 卡片按钮列表 { private String type; private String text; private String url; private String urlType; private String phoneNumber; public String getType() { return this.type; } public void setType(String type) { this.type = type; } public String getText() { return this.text; } public void setText(String text) { this.text = text; } public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; } public String getUrlType() { return this.urlType; } public void setUrlType(String urlType) { this.urlType = urlType; } public String getPhoneNumber() { return this.phoneNumber; } public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } } } } } } @Override public GetChatappTemplateDetailResponse getInstance(UnmarshallerContext context) { return GetChatappTemplateDetailResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetChatappTemplateMetricRequest.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.cams.Endpoint; /** * @author auto create * @version */ public class GetChatappTemplateMetricRequest extends RpcAcsRequest<GetChatappTemplateMetricResponse> { private String language; private String templateType; private Long end; private String isvCode; private Long start; private String custSpaceId; private String granularity; private String templateCode; public GetChatappTemplateMetricRequest() { super("cams", "2020-06-06", "GetChatappTemplateMetric", "cams"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getLanguage() { return this.language; } public void setLanguage(String language) { this.language = language; if(language != null){ putQueryParameter("Language", language); } } public String getTemplateType() { return this.templateType; } public void setTemplateType(String templateType) { this.templateType = templateType; if(templateType != null){ putQueryParameter("TemplateType", templateType); } } public Long getEnd() { return this.end; } public void setEnd(Long end) { this.end = end; if(end != null){ putQueryParameter("End", end.toString()); } } public String getIsvCode() { return this.isvCode; } public void setIsvCode(String isvCode) { this.isvCode = isvCode; if(isvCode != null){ putQueryParameter("IsvCode", isvCode); } } public Long getStart() { return this.start; } public void setStart(Long start) { this.start = start; if(start != null){ putQueryParameter("Start", start.toString()); } } public String getCustSpaceId() { return this.custSpaceId; } public void setCustSpaceId(String custSpaceId) { this.custSpaceId = custSpaceId; if(custSpaceId != null){ putQueryParameter("CustSpaceId", custSpaceId); } } public String getGranularity() { return this.granularity; } public void setGranularity(String granularity) { this.granularity = granularity; if(granularity != null){ putQueryParameter("Granularity", granularity); } } public String getTemplateCode() { return this.templateCode; } public void setTemplateCode(String templateCode) { this.templateCode = templateCode; if(templateCode != null){ putQueryParameter("TemplateCode", templateCode); } } @Override public Class<GetChatappTemplateMetricResponse> getResponseClass() { return GetChatappTemplateMetricResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model
java-sources/com/aliyun/aliyun-java-sdk-cams/1.0.15/com/aliyuncs/cams/model/v20200606/GetChatappTemplateMetricResponse.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.cams.model.v20200606; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.cams.transform.v20200606.GetChatappTemplateMetricResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetChatappTemplateMetricResponse extends AcsResponse { private String requestId; private String code; private String message; private String accessDeniedDetail; private List<返回数据> 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 String getAccessDeniedDetail() { return this.accessDeniedDetail; } public void setAccessDeniedDetail(String accessDeniedDetail) { this.accessDeniedDetail = accessDeniedDetail; } public List<返回数据> getData() { return this.data; } public void setData(List<返回数据> data) { this.data = data; } public static class 返回数据 { private String templateCode; private String language; private Integer sentCount; private Integer readCount; private Integer deliveredCount; private Long start; private Long end; private List<按钮点击数据> cliented; public String getTemplateCode() { return this.templateCode; } public void setTemplateCode(String templateCode) { this.templateCode = templateCode; } public String getLanguage() { return this.language; } public void setLanguage(String language) { this.language = language; } public Integer getSentCount() { return this.sentCount; } public void setSentCount(Integer sentCount) { this.sentCount = sentCount; } public Integer getReadCount() { return this.readCount; } public void setReadCount(Integer readCount) { this.readCount = readCount; } public Integer getDeliveredCount() { return this.deliveredCount; } public void setDeliveredCount(Integer deliveredCount) { this.deliveredCount = deliveredCount; } public Long getStart() { return this.start; } public void setStart(Long start) { this.start = start; } public Long getEnd() { return this.end; } public void setEnd(Long end) { this.end = end; } public List<按钮点击数据> getCliented() { return this.cliented; } public void setCliented(List<按钮点击数据> cliented) { this.cliented = cliented; } public static class 按钮点击数据 { private String type; private String buttonContent; private Integer count; public String getType() { return this.type; } public void setType(String type) { this.type = type; } public String getButtonContent() { return this.buttonContent; } public void setButtonContent(String buttonContent) { this.buttonContent = buttonContent; } public Integer getCount() { return this.count; } public void setCount(Integer count) { this.count = count; } } } @Override public GetChatappTemplateMetricResponse getInstance(UnmarshallerContext context) { return GetChatappTemplateMetricResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }