Class: Azure::ARM::Web::Models::ConnStringValueTypePair

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#typeConnectionStringType

include: ‘MySql’, ‘SQLServer’, ‘SQLAzure’, ‘Custom’, ‘NotificationHub’, ‘ServiceBus’, ‘EventHub’, ‘ApiHub’, ‘DocDb’, ‘RedisCache’, ‘PostgreSQL’

Returns:



22
23
24
# File 'lib/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb', line 22

def type
  @type
end

#valueString

Returns Value of pair.

Returns:

  • (String)

    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

.mapperObject

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