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
definitions = None
if dictionary.get('definitions') != None:
definitions = list()
for structure in dictionary.get('definitions'):
definitions.append(meraki.models.definition_model.DefinitionModel.from_dictionary(structure))
per_client_bandwidth_limits = meraki.models.per_client_bandwidth_limits_model.PerClientBandwidthLimitsModel.from_dictionary(dictionary.get('perClientBandwidthLimits')) if dictionary.get('perClientBandwidthLimits') else None
dscp_tag_value = dictionary.get('dscpTagValue')
priority = dictionary.get('priority')
# Return an object of this model
return cls(definitions,
per_client_bandwidth_limits,
dscp_tag_value,
priority)
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
definitions = None
if dictionary.get('definitions') != None:
definitions = list()
for structure in dictionary.get('definitions'):
definitions.append(meraki.models.definition_model.DefinitionModel.from_dictionary(structure))
per_client_bandwidth_limits = meraki.models.per_client_bandwidth_limits_model.PerClientBandwidthLimitsModel.from_dictionary(dictionary.get('perClientBandwidthLimits')) if dictionary.get('perClientBandwidthLimits') else None
dscp_tag_value = dictionary.get('dscpTagValue')
priority = dictionary.get('priority')
# Return an object of this model
return cls(definitions,
per_client_bandwidth_limits,
dscp_tag_value,
priority)
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
definitions = None
if dictionary.get('definitions') != None:
definitions = list()
for structure in dictionary.get('definitions'):
definitions.append(meraki.models.definition_model.DefinitionModel.from_dictionary(structure))
per_client_bandwidth_limits = meraki.models.per_client_bandwidth_limits_model.PerClientBandwidthLimitsModel.from_dictionary(dictionary.get('perClientBandwidthLimits')) if dictionary.get('perClientBandwidthLimits') else None
dscp_tag_value = dictionary.get('dscpTagValue')
pcp_tag_value = dictionary.get('pcpTagValue')
# Return an object of this model
return cls(definitions,
per_client_bandwidth_limits,
dscp_tag_value,
pcp_tag_value)