/[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 20555 by jclarke, Thu May 17 11:25:57 2018 UTC revision 20556 by jclarke, Thu May 17 16:40:57 2018 UTC
# Line 247  class Organization(Meraki): Line 247  class Organization(Meraki):
247              'name': name              'name': name
248          }          }
249    
250          for key in ['type', 'tags', 'timezone']:          for key in ['type', 'tags', 'timezone', 'copy_from_network_id']:
251              if key in kwargs:              if key in kwargs:
252                  if key == 'timezone':                  if key == 'timezone':
253                      payload['timeZone'] = kwargs[key]                      payload['timeZone'] = kwargs[key]
254                    elif key == 'copy_from_network_id':
255                        payload['copyFromNetworkId'] = kwargs[key]
256                  else:                  else:
257                      payload[key] = kwargs[key]                      payload[key] = kwargs[key]
258    

Legend:
Removed from v.20555  
changed lines
  Added in v.20556

  ViewVC Help
Powered by ViewVC 1.1.27