Source code for models_v2.flashblade_params_3

# -*- coding: utf-8 -*-

[docs]class FlashbladeParams3(object): """Implementation of the 'FlashbladeParams3' model. Specifies the parameters specific to Flashblade type snapshot. Attributes: supported_nas_mount_protocols (list of SupportedNasMountProtocol3Enum): Specifies a list of NAS mount protocols supported by this object. """ # Create a mapping from Model property names to API property names _names = { "supported_nas_mount_protocols":'supportedNasMountProtocols' } def __init__(self, supported_nas_mount_protocols=None): """Constructor for the FlashbladeParams3 class""" # Initialize members of the class self.supported_nas_mount_protocols = supported_nas_mount_protocols
[docs] @classmethod def from_dictionary(cls, dictionary): """Creates an instance of this model from a dictionary Args: dictionary (dictionary): A dictionary representation of the object as 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 supported_nas_mount_protocols = dictionary.get('supportedNasMountProtocols') # Return an object of this model return cls(supported_nas_mount_protocols)