Class: Azure::CustomerInsights::Mgmt::V2017_01_01::Models::ConnectorMappingStructure

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_structure.rb

Overview

Connector mapping property structure.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#column_nameString

Returns The column name of the import file.

Returns:

  • (String)

    The column name of the import file.



19
20
21
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_structure.rb', line 19

def column_name
  @column_name
end

#custom_format_specifierString

Returns Custom format specifier for input parsing.

Returns:

  • (String)

    Custom format specifier for input parsing.



22
23
24
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_structure.rb', line 22

def custom_format_specifier
  @custom_format_specifier
end

#is_encryptedBoolean

Returns Indicates if the column is encrypted.

Returns:

  • (Boolean)

    Indicates if the column is encrypted.



25
26
27
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_structure.rb', line 25

def is_encrypted
  @is_encrypted
end

#property_nameString

Returns The property name of the mapping entity.

Returns:

  • (String)

    The property name of the mapping entity.



16
17
18
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_structure.rb', line 16

def property_name
  @property_name
end

Class Method Details

.mapperObject

Mapper for ConnectorMappingStructure class as Ruby Hash. This will be used for serialization/deserialization.



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_structure.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectorMappingStructure',
    type: {
      name: 'Composite',
      class_name: 'ConnectorMappingStructure',
      model_properties: {
        property_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'propertyName',
          type: {
            name: 'String'
          }
        },
        column_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'columnName',
          type: {
            name: 'String'
          }
        },
        custom_format_specifier: {
          client_side_validation: true,
          required: false,
          serialized_name: 'customFormatSpecifier',
          type: {
            name: 'String'
          }
        },
        is_encrypted: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isEncrypted',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end