Class: Azure::ARM::Web::Models::ConnStringValueTypePair
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::ConnStringValueTypePair
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb
Overview
Database connection string value to type pair.
Instance Attribute Summary collapse
-
#type ⇒ ConnectionStringType
include: ‘MySql’, ‘SQLServer’, ‘SQLAzure’, ‘Custom’, ‘NotificationHub’, ‘ServiceBus’, ‘EventHub’, ‘ApiHub’, ‘DocDb’, ‘RedisCache’, ‘PostgreSQL’.
-
#value ⇒ String
Value of pair.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnStringValueTypePair class as Ruby Hash.
Instance Attribute Details
#type ⇒ ConnectionStringType
include: ‘MySql’, ‘SQLServer’, ‘SQLAzure’, ‘Custom’, ‘NotificationHub’, ‘ServiceBus’, ‘EventHub’, ‘ApiHub’, ‘DocDb’, ‘RedisCache’, ‘PostgreSQL’
22 23 24 |
# File 'lib/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb', line 22 def type @type end |
#value ⇒ String
Returns Value of pair.
17 18 19 |
# File 'lib/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb', line 17 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for ConnStringValueTypePair class as Ruby Hash. This will be used for serialization/deserialization.
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/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb', line 29 def self.mapper() { required: false, serialized_name: 'ConnStringValueTypePair', type: { name: 'Composite', class_name: 'ConnStringValueTypePair', model_properties: { value: { required: true, serialized_name: 'value', type: { name: 'String' } }, type: { required: true, serialized_name: 'type', type: { name: 'Enum', module: 'ConnectionStringType' } } } } } end |