Class: Azure::Security::Mgmt::V2020_08_06_preview::Models::Protocol
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2020_08_06_preview::Models::Protocol
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-08-06-preview/generated/azure_mgmt_security/models/protocol.rb
Overview
Protocol data
Instance Attribute Summary collapse
-
#identifiers ⇒ String
List of protocol identifiers.
-
#name ⇒ String
Protocol name.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Protocol class as Ruby Hash.
Instance Attribute Details
#identifiers ⇒ String
Returns list of protocol identifiers.
19 20 21 |
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/protocol.rb', line 19 def identifiers @identifiers end |
#name ⇒ String
Returns Protocol name.
16 17 18 |
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/protocol.rb', line 16 def name @name end |
Class Method Details
.mapper ⇒ Object
Mapper for Protocol class as Ruby Hash. This will be used for serialization/deserialization.
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/2020-08-06-preview/generated/azure_mgmt_security/models/protocol.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Protocol', type: { name: 'Composite', class_name: 'Protocol', model_properties: { name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, identifiers: { client_side_validation: true, required: false, serialized_name: 'identifiers', type: { name: 'String' } } } } } end |