Class: Azure::Storage::Mgmt::V2021_01_01::Models::ProtocolSettings
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2021_01_01::Models::ProtocolSettings
- Includes:
- MsRestAzure
- Defined in:
- lib/2021-01-01/generated/azure_mgmt_storage/models/protocol_settings.rb
Overview
Protocol settings for file service
Instance Attribute Summary collapse
-
#smb ⇒ SmbSetting
Setting for SMB protocol.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ProtocolSettings class as Ruby Hash.
Instance Attribute Details
#smb ⇒ SmbSetting
Returns Setting for SMB protocol.
16 17 18 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/protocol_settings.rb', line 16 def smb @smb end |
Class Method Details
.mapper ⇒ Object
Mapper for ProtocolSettings class as Ruby Hash. This will be used for serialization/deserialization.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/protocol_settings.rb', line 23 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ProtocolSettings', type: { name: 'Composite', class_name: 'ProtocolSettings', model_properties: { smb: { client_side_validation: true, required: false, serialized_name: 'smb', type: { name: 'Composite', class_name: 'SmbSetting' } } } } } end |