Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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')
provider_configuration = None
if dictionary.get('ProviderConfiguration') != None:
provider_configuration = list()
for structure in dictionary.get('ProviderConfiguration'):
provider_configuration.append(meraki.models.provider_configuration_model.ProviderConfigurationModel.from_dictionary(structure))
app_bundle_identifier = dictionary.get('AppBundleIdentifier')
provider_bundle_identifier = dictionary.get('ProviderBundleIdentifier')
uses_cert = dictionary.get('usesCert')
# Return an object of this model
return cls(name,
scope,
provider_configuration,
app_bundle_identifier,
provider_bundle_identifier,
uses_cert)
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')
app_bundle_identifier = dictionary.get('AppBundleIdentifier')
provider_bundle_identifier = dictionary.get('ProviderBundleIdentifier')
provider_configuration = None
if dictionary.get('ProviderConfiguration') != None:
provider_configuration = list()
for structure in dictionary.get('ProviderConfiguration'):
provider_configuration.append(meraki.models.provider_configuration_model.ProviderConfigurationModel.from_dictionary(structure))
uses_cert = dictionary.get('usesCert')
# Return an object of this model
return cls(name,
scope,
app_bundle_identifier,
provider_bundle_identifier,
provider_configuration,
uses_cert)
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
provider_configuration = None
if dictionary.get('ProviderConfiguration') != None:
provider_configuration = list()
for structure in dictionary.get('ProviderConfiguration'):
provider_configuration.append(meraki.models.provider_configuration_model.ProviderConfigurationModel.from_dictionary(structure))
app_bundle_identifier = dictionary.get('AppBundleIdentifier')
provider_bundle_identifier = dictionary.get('ProviderBundleIdentifier')
uses_cert = dictionary.get('usesCert')
# Return an object of this model
return cls(provider_configuration,
app_bundle_identifier,
provider_bundle_identifier,
uses_cert)