in linkcard-20210520/alibabacloud_linkcard20210520/models.py [0:0]
def to_map(self):
_map = super().to_map()
if _map is not None:
return _map
result = dict()
if self.active_time is not None:
result['ActiveTime'] = self.active_time
if self.active_type is not None:
result['ActiveType'] = self.active_type
if self.ali_fee is not None:
result['AliFee'] = self.ali_fee
if self.aliyun_order_id is not None:
result['AliyunOrderId'] = self.aliyun_order_id
if self.apn_name is not None:
result['ApnName'] = self.apn_name
if self.auto_limit_resume is not None:
result['AutoLimitResume'] = self.auto_limit_resume
if self.auto_rebind_reuse is not None:
result['AutoRebindReuse'] = self.auto_rebind_reuse
if self.card_limit_speed_threshold is not None:
result['CardLimitSpeedThreshold'] = self.card_limit_speed_threshold
if self.card_limit_stop_threshold is not None:
result['CardLimitStopThreshold'] = self.card_limit_stop_threshold
if self.certify_status is not None:
result['CertifyStatus'] = self.certify_status
if self.certify_type is not None:
result['CertifyType'] = self.certify_type
if self.credential_instance_id is not None:
result['CredentialInstanceId'] = self.credential_instance_id
if self.credential_limit_speed_threshold is not None:
result['CredentialLimitSpeedThreshold'] = self.credential_limit_speed_threshold
if self.credential_limit_stop_threshold is not None:
result['CredentialLimitStopThreshold'] = self.credential_limit_stop_threshold
if self.credential_no is not None:
result['CredentialNo'] = self.credential_no
if self.credential_type is not None:
result['CredentialType'] = self.credential_type
if self.data_level is not None:
result['DataLevel'] = self.data_level
if self.data_type is not None:
result['DataType'] = self.data_type
if self.device_imei is not None:
result['DeviceImei'] = self.device_imei
if self.directional_group_id is not None:
result['DirectionalGroupId'] = self.directional_group_id
if self.directional_group_name is not None:
result['DirectionalGroupName'] = self.directional_group_name
if self.expire_time is not None:
result['ExpireTime'] = self.expire_time
if self.flow_threshold_unit is not None:
result['FlowThresholdUnit'] = self.flow_threshold_unit
if self.iccid is not None:
result['Iccid'] = self.iccid
if self.imsi is not None:
result['Imsi'] = self.imsi
if self.ip is not None:
result['Ip'] = self.ip
if self.is_auto_recharge is not None:
result['IsAutoRecharge'] = self.is_auto_recharge
if self.msisdn is not None:
result['Msisdn'] = self.msisdn
if self.notify_id is not None:
result['NotifyId'] = self.notify_id
if self.open_account_time is not None:
result['OpenAccountTime'] = self.open_account_time
if self.open_sms is not None:
result['OpenSms'] = self.open_sms
if self.os_status is not None:
result['OsStatus'] = self.os_status
if self.period is not None:
result['Period'] = self.period
if self.period_add_flow is not None:
result['PeriodAddFlow'] = self.period_add_flow
if self.period_rest_flow is not None:
result['PeriodRestFlow'] = self.period_rest_flow
if self.period_sms_use is not None:
result['PeriodSmsUse'] = self.period_sms_use
if self.private_network_segment is not None:
result['PrivateNetworkSegment'] = self.private_network_segment
if self.sim_type is not None:
result['SimType'] = self.sim_type
if self.status is not None:
result['Status'] = self.status
result['TagList'] = []
if self.tag_list is not None:
for k in self.tag_list:
result['TagList'].append(k.to_map() if k else None)
if self.vendor is not None:
result['Vendor'] = self.vendor
if self.vsim_instance_id is not None:
result['VsimInstanceId'] = self.vsim_instance_id
return result