def from_map()

in cloudwifi-pop-20191118/alibabacloud_cloudwifi_pop20191118/models.py [0:0]


    def from_map(self, m: dict = None):
        m = m or dict()
        if m.get('AcctPort') is not None:
            self.acct_port = m.get('AcctPort')
        if m.get('AcctSecret') is not None:
            self.acct_secret = m.get('AcctSecret')
        if m.get('AcctServer') is not None:
            self.acct_server = m.get('AcctServer')
        if m.get('AcctStatusServerWork') is not None:
            self.acct_status_server_work = m.get('AcctStatusServerWork')
        if m.get('ApAssetId') is not None:
            self.ap_asset_id = m.get('ApAssetId')
        if m.get('AppCode') is not None:
            self.app_code = m.get('AppCode')
        if m.get('AppName') is not None:
            self.app_name = m.get('AppName')
        if m.get('ArpProxyEnable') is not None:
            self.arp_proxy_enable = m.get('ArpProxyEnable')
        if m.get('AuthCache') is not None:
            self.auth_cache = m.get('AuthCache')
        if m.get('AuthPort') is not None:
            self.auth_port = m.get('AuthPort')
        if m.get('AuthSecret') is not None:
            self.auth_secret = m.get('AuthSecret')
        if m.get('AuthServer') is not None:
            self.auth_server = m.get('AuthServer')
        if m.get('AuthStatusServerWork') is not None:
            self.auth_status_server_work = m.get('AuthStatusServerWork')
        if m.get('Cir') is not None:
            self.cir = m.get('Cir')
        if m.get('CirStep') is not None:
            self.cir_step = m.get('CirStep')
        if m.get('CirType') is not None:
            self.cir_type = m.get('CirType')
        if m.get('CirUl') is not None:
            self.cir_ul = m.get('CirUl')
        if m.get('DaeClient') is not None:
            self.dae_client = m.get('DaeClient')
        if m.get('DaePort') is not None:
            self.dae_port = m.get('DaePort')
        if m.get('DaeSecret') is not None:
            self.dae_secret = m.get('DaeSecret')
        if m.get('Disabled') is not None:
            self.disabled = m.get('Disabled')
        if m.get('DisassocLowAck') is not None:
            self.disassoc_low_ack = m.get('DisassocLowAck')
        if m.get('DisassocWeakRssi') is not None:
            self.disassoc_weak_rssi = m.get('DisassocWeakRssi')
        if m.get('DynamicVlan') is not None:
            self.dynamic_vlan = m.get('DynamicVlan')
        if m.get('EncKey') is not None:
            self.enc_key = m.get('EncKey')
        if m.get('Encryption') is not None:
            self.encryption = m.get('Encryption')
        if m.get('FourthAuthPort') is not None:
            self.fourth_auth_port = m.get('FourthAuthPort')
        if m.get('FourthAuthSecret') is not None:
            self.fourth_auth_secret = m.get('FourthAuthSecret')
        if m.get('FourthAuthServer') is not None:
            self.fourth_auth_server = m.get('FourthAuthServer')
        if m.get('FtOverDs') is not None:
            self.ft_over_ds = m.get('FtOverDs')
        if m.get('Hidden') is not None:
            self.hidden = m.get('Hidden')
        if m.get('Id') is not None:
            self.id = m.get('Id')
        if m.get('Ieee80211r') is not None:
            self.ieee_80211r = m.get('Ieee80211r')
        if m.get('Ieee80211w') is not None:
            self.ieee_80211w = m.get('Ieee80211w')
        if m.get('IgnoreWeakProbe') is not None:
            self.ignore_weak_probe = m.get('IgnoreWeakProbe')
        if m.get('Isolate') is not None:
            self.isolate = m.get('Isolate')
        if m.get('LiteEffect') is not None:
            self.lite_effect = m.get('LiteEffect')
        if m.get('Mac') is not None:
            self.mac = m.get('Mac')
        if m.get('MaxInactivity') is not None:
            self.max_inactivity = m.get('MaxInactivity')
        if m.get('Maxassoc') is not None:
            self.maxassoc = m.get('Maxassoc')
        if m.get('MobilityDomain') is not None:
            self.mobility_domain = m.get('MobilityDomain')
        if m.get('MulticastForward') is not None:
            self.multicast_forward = m.get('MulticastForward')
        if m.get('Nasid') is not None:
            self.nasid = m.get('Nasid')
        if m.get('NdProxyWork') is not None:
            self.nd_proxy_work = m.get('NdProxyWork')
        if m.get('Network') is not None:
            self.network = m.get('Network')
        if m.get('Ownip') is not None:
            self.ownip = m.get('Ownip')
        if m.get('RadioIndex') is not None:
            self.radio_index = m.get('RadioIndex')
        if m.get('SecondaryAcctPort') is not None:
            self.secondary_acct_port = m.get('SecondaryAcctPort')
        if m.get('SecondaryAcctSecret') is not None:
            self.secondary_acct_secret = m.get('SecondaryAcctSecret')
        if m.get('SecondaryAcctServer') is not None:
            self.secondary_acct_server = m.get('SecondaryAcctServer')
        if m.get('SecondaryAuthPort') is not None:
            self.secondary_auth_port = m.get('SecondaryAuthPort')
        if m.get('SecondaryAuthSecret') is not None:
            self.secondary_auth_secret = m.get('SecondaryAuthSecret')
        if m.get('SecondaryAuthServer') is not None:
            self.secondary_auth_server = m.get('SecondaryAuthServer')
        if m.get('SendConfigToAp') is not None:
            self.send_config_to_ap = m.get('SendConfigToAp')
        if m.get('ShortPreamble') is not None:
            self.short_preamble = m.get('ShortPreamble')
        if m.get('Ssid') is not None:
            self.ssid = m.get('Ssid')
        if m.get('SsidLb') is not None:
            self.ssid_lb = m.get('SsidLb')
        if m.get('ThirdAuthPort') is not None:
            self.third_auth_port = m.get('ThirdAuthPort')
        if m.get('ThirdAuthSecret') is not None:
            self.third_auth_secret = m.get('ThirdAuthSecret')
        if m.get('ThirdAuthServer') is not None:
            self.third_auth_server = m.get('ThirdAuthServer')
        if m.get('Type') is not None:
            self.type = m.get('Type')
        if m.get('VlanDhcp') is not None:
            self.vlan_dhcp = m.get('VlanDhcp')
        if m.get('Wmm') is not None:
            self.wmm = m.get('Wmm')
        return self