Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
obtained from the deserialization of the server's response. The keys
MUST match property names in the API description.
Returns:
object: An instance of this structure class.
"""
if dictionary is None:
return None
# Extract variables from the dictionary
vendor_config = None
if dictionary.get('VendorConfig') != None:
vendor_config = list()
for structure in dictionary.get('VendorConfig'):
vendor_config.append(meraki.models.vendor_config_model.VendorConfigModel.from_dictionary(structure))
plugin_bundle_id = dictionary.get('PluginBundleID')
filter_browsers = dictionary.get('FilterBrowsers')
filter_sockets = dictionary.get('FilterSockets')
# Return an object of this model
return cls(vendor_config,
plugin_bundle_id,
filter_browsers,
filter_sockets)
Returns:
object: An instance of this structure class.
"""
if dictionary is None:
return None
# Extract variables from the dictionary
name = dictionary.get('name')
scope = dictionary.get('scope')
vendor_config = None
if dictionary.get('VendorConfig') != None:
vendor_config = list()
for structure in dictionary.get('VendorConfig'):
vendor_config.append(meraki.models.vendor_config_model.VendorConfigModel.from_dictionary(structure))
plugin_bundle_id = dictionary.get('PluginBundleID')
filter_browsers = dictionary.get('FilterBrowsers')
filter_sockets = dictionary.get('FilterSockets')
# Return an object of this model
return cls(name,
scope,
vendor_config,
plugin_bundle_id,
filter_browsers,
filter_sockets)
"""
if dictionary is None:
return None
# Extract variables from the dictionary
name = dictionary.get('name')
scope = dictionary.get('scope')
plugin_bundle_id = dictionary.get('PluginBundleID')
filter_browsers = dictionary.get('FilterBrowsers')
filter_sockets = dictionary.get('FilterSockets')
vendor_config = None
if dictionary.get('VendorConfig') != None:
vendor_config = list()
for structure in dictionary.get('VendorConfig'):
vendor_config.append(meraki.models.vendor_config_model.VendorConfigModel.from_dictionary(structure))
# Return an object of this model
return cls(name,
scope,
plugin_bundle_id,
filter_browsers,
filter_sockets,
vendor_config)