models_v2.protocol_option module

class models_v2.protocol_option.ProtocolOption(mtype=None, mode=None)[source]

Bases: object

Implementation of the ‘Protocol Option’ model.

Specifies the protocol options for view.

Attributes:
mtype (Type3Enum): Type of protocol. Specifies the supported Protocols

for the View. ‘NFS’ enables protocol access to NFS v3. ‘NFS4’ enables protocol access to NFS v4.1. ‘SMB’ enables protocol access to SMB. ‘S3’ enables protocol access to S3. ‘Swift’ enables protocol access to Swift.

mode (Mode4Enum): Mode of protocol access. ‘ReadOnly’ ‘ReadWrite’

classmethod from_dictionary(dictionary)[source]

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.