in cloudesl-20200201/alibabacloud_cloudesl20200201/models.py [0:0]
def from_map(self, m=None):
m = m or dict()
if m.get('ActionPrice') is not None:
self.action_price = m.get('ActionPrice')
if m.get('BeClearance') is not None:
self.be_clearance = m.get('BeClearance')
if m.get('BeMember') is not None:
self.be_member = m.get('BeMember')
if m.get('BePromotion') is not None:
self.be_promotion = m.get('BePromotion')
if m.get('BeSourceCode') is not None:
self.be_source_code = m.get('BeSourceCode')
if m.get('BrandName') is not None:
self.brand_name = m.get('BrandName')
if m.get('CategoryName') is not None:
self.category_name = m.get('CategoryName')
if m.get('CustomizeFeatureA') is not None:
self.customize_feature_a = m.get('CustomizeFeatureA')
if m.get('CustomizeFeatureB') is not None:
self.customize_feature_b = m.get('CustomizeFeatureB')
if m.get('CustomizeFeatureC') is not None:
self.customize_feature_c = m.get('CustomizeFeatureC')
if m.get('CustomizeFeatureD') is not None:
self.customize_feature_d = m.get('CustomizeFeatureD')
if m.get('CustomizeFeatureE') is not None:
self.customize_feature_e = m.get('CustomizeFeatureE')
if m.get('CustomizeFeatureF') is not None:
self.customize_feature_f = m.get('CustomizeFeatureF')
if m.get('CustomizeFeatureG') is not None:
self.customize_feature_g = m.get('CustomizeFeatureG')
if m.get('CustomizeFeatureH') is not None:
self.customize_feature_h = m.get('CustomizeFeatureH')
if m.get('CustomizeFeatureI') is not None:
self.customize_feature_i = m.get('CustomizeFeatureI')
if m.get('CustomizeFeatureJ') is not None:
self.customize_feature_j = m.get('CustomizeFeatureJ')
if m.get('CustomizeFeatureK') is not None:
self.customize_feature_k = m.get('CustomizeFeatureK')
if m.get('CustomizeFeatureL') is not None:
self.customize_feature_l = m.get('CustomizeFeatureL')
if m.get('CustomizeFeatureM') is not None:
self.customize_feature_m = m.get('CustomizeFeatureM')
if m.get('CustomizeFeatureN') is not None:
self.customize_feature_n = m.get('CustomizeFeatureN')
if m.get('CustomizeFeatureO') is not None:
self.customize_feature_o = m.get('CustomizeFeatureO')
if m.get('CustomizeFeatureP') is not None:
self.customize_feature_p = m.get('CustomizeFeatureP')
if m.get('CustomizeFeatureQ') is not None:
self.customize_feature_q = m.get('CustomizeFeatureQ')
if m.get('CustomizeFeatureR') is not None:
self.customize_feature_r = m.get('CustomizeFeatureR')
if m.get('CustomizeFeatureS') is not None:
self.customize_feature_s = m.get('CustomizeFeatureS')
if m.get('CustomizeFeatureT') is not None:
self.customize_feature_t = m.get('CustomizeFeatureT')
if m.get('CustomizeFeatureU') is not None:
self.customize_feature_u = m.get('CustomizeFeatureU')
if m.get('CustomizeFeatureV') is not None:
self.customize_feature_v = m.get('CustomizeFeatureV')
if m.get('CustomizeFeatureW') is not None:
self.customize_feature_w = m.get('CustomizeFeatureW')
if m.get('CustomizeFeatureX') is not None:
self.customize_feature_x = m.get('CustomizeFeatureX')
if m.get('CustomizeFeatureY') is not None:
self.customize_feature_y = m.get('CustomizeFeatureY')
if m.get('CustomizeFeatureZ') is not None:
self.customize_feature_z = m.get('CustomizeFeatureZ')
if m.get('EnergyEfficiency') is not None:
self.energy_efficiency = m.get('EnergyEfficiency')
if m.get('ForestFirstId') is not None:
self.forest_first_id = m.get('ForestFirstId')
if m.get('ForestSecondId') is not None:
self.forest_second_id = m.get('ForestSecondId')
if m.get('InventoryStatus') is not None:
self.inventory_status = m.get('InventoryStatus')
if m.get('ItemBarCode') is not None:
self.item_bar_code = m.get('ItemBarCode')
if m.get('ItemId') is not None:
self.item_id = m.get('ItemId')
if m.get('ItemInfoIndex') is not None:
self.item_info_index = m.get('ItemInfoIndex')
if m.get('ItemPicUrl') is not None:
self.item_pic_url = m.get('ItemPicUrl')
if m.get('ItemQrCode') is not None:
self.item_qr_code = m.get('ItemQrCode')
if m.get('ItemShortTitle') is not None:
self.item_short_title = m.get('ItemShortTitle')
if m.get('ItemTitle') is not None:
self.item_title = m.get('ItemTitle')
if m.get('Manufacturer') is not None:
self.manufacturer = m.get('Manufacturer')
if m.get('Material') is not None:
self.material = m.get('Material')
if m.get('MemberPrice') is not None:
self.member_price = m.get('MemberPrice')
if m.get('ModelNumber') is not None:
self.model_number = m.get('ModelNumber')
if m.get('OriginalPrice') is not None:
self.original_price = m.get('OriginalPrice')
if m.get('PriceUnit') is not None:
self.price_unit = m.get('PriceUnit')
if m.get('ProductionPlace') is not None:
self.production_place = m.get('ProductionPlace')
if m.get('PromotionEnd') is not None:
self.promotion_end = m.get('PromotionEnd')
if m.get('PromotionReason') is not None:
self.promotion_reason = m.get('PromotionReason')
if m.get('PromotionStart') is not None:
self.promotion_start = m.get('PromotionStart')
if m.get('PromotionText') is not None:
self.promotion_text = m.get('PromotionText')
if m.get('Rank') is not None:
self.rank = m.get('Rank')
if m.get('SaleSpec') is not None:
self.sale_spec = m.get('SaleSpec')
if m.get('SalesPrice') is not None:
self.sales_price = m.get('SalesPrice')
if m.get('SkuId') is not None:
self.sku_id = m.get('SkuId')
if m.get('SourceCode') is not None:
self.source_code = m.get('SourceCode')
if m.get('SuggestPrice') is not None:
self.suggest_price = m.get('SuggestPrice')
if m.get('SupplierName') is not None:
self.supplier_name = m.get('SupplierName')
if m.get('TaxFee') is not None:
self.tax_fee = m.get('TaxFee')
if m.get('TemplateSceneId') is not None:
self.template_scene_id = m.get('TemplateSceneId')
return self