/[marcuscom]/meraki/meraki_api/__init__.py
ViewVC logotype

Diff of /meraki/meraki_api/__init__.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20550 by jclarke, Mon May 7 21:11:26 2018 UTC revision 20551 by jclarke, Mon May 7 21:28:00 2018 UTC
# Line 388  class SSID(Meraki): Line 388  class SSID(Meraki):
388      def __init__(self, **kwargs):      def __init__(self, **kwargs):
389          super(SSID, self).__init__(**kwargs)          super(SSID, self).__init__(**kwargs)
390          if not 'net' in kwargs:          if not 'net' in kwargs:
391              raise Exception('Missing mandatory net argument!')              raise TypeError('Missing mandatory net argument!')
392    
393          self._net = kwargs['net']          self._net = kwargs['net']
394    
# Line 447  class Vlan(Meraki): Line 447  class Vlan(Meraki):
447      def __init__(self, **kwargs):      def __init__(self, **kwargs):
448          super(Vlan, self).__init__(**kwargs)          super(Vlan, self).__init__(**kwargs)
449          if not 'net' in kwargs:          if not 'net' in kwargs:
450              raise Exception('Missing mandatory net argument!')              raise TypeError('Missing mandatory net argument!')
451    
452          self._net = kwargs['net']          self._net = kwargs['net']
453    
# Line 508  class Device(Meraki): Line 508  class Device(Meraki):
508      def __init__(self, **kwargs):      def __init__(self, **kwargs):
509          super(Device, self).__init__(**kwargs)          super(Device, self).__init__(**kwargs)
510          if not 'net' in kwargs:          if not 'net' in kwargs:
511              raise Exception('Missing mandatory net argument!')              raise TypeError('Missing mandatory net argument!')
512    
513          self._net = kwargs['net']          self._net = kwargs['net']
514    
# Line 589  class SwitchPort(Meraki): Line 589  class SwitchPort(Meraki):
589      def __init__(self, **kwargs):      def __init__(self, **kwargs):
590          super(SwitchPort, self).__init__(**kwargs)          super(SwitchPort, self).__init__(**kwargs)
591          if not 'dev' in kwargs:          if not 'dev' in kwargs:
592              raise Exception('Missing mandatory dev argument!')              raise TypeError('Missing mandatory dev argument!')
593    
594          self._dev = kwargs['dev']          self._dev = kwargs['dev']
595    

Legend:
Removed from v.20550  
changed lines
  Added in v.20551

  ViewVC Help
Powered by ViewVC 1.1.27