Class: Azure::ARM::CustomerInsights::Models::ConnectorMappingResourceFormat

Inherits:
ProxyResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb

Overview

The c onnector mapping resource format.

Instance Attribute Summary collapse

Attributes inherited from ProxyResource

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#connector_mapping_nameString

Returns The connector mapping name.

Returns:

  • (String)

    The connector mapping name



37
38
39
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 37

def connector_mapping_name
  @connector_mapping_name
end

#connector_nameString

Returns The connector name.

Returns:

  • (String)

    The connector name.



16
17
18
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 16

def connector_name
  @connector_name
end

#connector_typeConnectorTypes

‘None’, ‘CRM’, ‘AzureBlob’, ‘Salesforce’, ‘ExchangeOnline’, ‘Outbound’

Returns:



20
21
22
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 20

def connector_type
  @connector_type
end

#createdDateTime

Returns The created time.

Returns:

  • (DateTime)

    The created time.



23
24
25
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 23

def created
  @created
end

#data_format_idString

Returns The DataFormat ID.

Returns:

  • (String)

    The DataFormat ID.



46
47
48
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 46

def data_format_id
  @data_format_id
end

#descriptionString

Returns The description of the connector mapping.

Returns:

  • (String)

    The description of the connector mapping.



43
44
45
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 43

def description
  @description
end

#display_nameString

Returns Display name for the connector mapping.

Returns:

  • (String)

    Display name for the connector mapping.



40
41
42
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 40

def display_name
  @display_name
end

#entity_typeEntityTypes

Possible values include: ‘None’, ‘Profile’, ‘Interaction’, ‘Relationship’

Returns:

  • (EntityTypes)

    Defines which entity type the file should map to.



31
32
33
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 31

def entity_type
  @entity_type
end

#entity_type_nameString

Returns The mapping entity name.

Returns:

  • (String)

    The mapping entity name.



34
35
36
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 34

def entity_type_name
  @entity_type_name
end

#last_modifiedDateTime

Returns The last monified time.

Returns:

  • (DateTime)

    The last monified time.



26
27
28
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 26

def last_modified
  @last_modified
end

#mapping_propertiesConnectorMappingProperties

Returns The properties of the mapping.

Returns:



49
50
51
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 49

def mapping_properties
  @mapping_properties
end

#next_run_timeDateTime

Returns The next run time based on customer’s settings.

Returns:

  • (DateTime)

    The next run time based on customer’s settings.



52
53
54
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 52

def next_run_time
  @next_run_time
end

#run_idString

Returns The RunId.

Returns:

  • (String)

    The RunId.



55
56
57
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 55

def run_id
  @run_id
end

#stateConnectorMappingStates

values include: ‘Creating’, ‘Created’, ‘Failed’, ‘Ready’, ‘Running’, ‘Stopped’, ‘Expiring’

Returns:



60
61
62
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 60

def state
  @state
end

#tenant_idString

Returns The hub name.

Returns:

  • (String)

    The hub name.



63
64
65
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 63

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

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



70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
# File 'lib/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb', line 70

def self.mapper()
  {
    required: false,
    serialized_name: 'ConnectorMappingResourceFormat',
    type: {
      name: 'Composite',
      class_name: 'ConnectorMappingResourceFormat',
      model_properties: {
        id: {
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        connector_name: {
          required: false,
          read_only: true,
          serialized_name: 'properties.connectorName',
          type: {
            name: 'String'
          }
        },
        connector_type: {
          required: false,
          serialized_name: 'properties.connectorType',
          type: {
            name: 'String'
          }
        },
        created: {
          required: false,
          read_only: true,
          serialized_name: 'properties.created',
          type: {
            name: 'DateTime'
          }
        },
        last_modified: {
          required: false,
          read_only: true,
          serialized_name: 'properties.lastModified',
          type: {
            name: 'DateTime'
          }
        },
        entity_type: {
          required: true,
          serialized_name: 'properties.entityType',
          type: {
            name: 'Enum',
            module: 'EntityTypes'
          }
        },
        entity_type_name: {
          required: true,
          serialized_name: 'properties.entityTypeName',
          type: {
            name: 'String'
          }
        },
        connector_mapping_name: {
          required: false,
          read_only: true,
          serialized_name: 'properties.connectorMappingName',
          type: {
            name: 'String'
          }
        },
        display_name: {
          required: false,
          serialized_name: 'properties.displayName',
          type: {
            name: 'String'
          }
        },
        description: {
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        data_format_id: {
          required: false,
          read_only: true,
          serialized_name: 'properties.dataFormatId',
          type: {
            name: 'String'
          }
        },
        mapping_properties: {
          required: true,
          serialized_name: 'properties.mappingProperties',
          default_value: {},
          type: {
            name: 'Composite',
            class_name: 'ConnectorMappingProperties'
          }
        },
        next_run_time: {
          required: false,
          read_only: true,
          serialized_name: 'properties.nextRunTime',
          type: {
            name: 'DateTime'
          }
        },
        run_id: {
          required: false,
          read_only: true,
          serialized_name: 'properties.runId',
          type: {
            name: 'String'
          }
        },
        state: {
          required: false,
          read_only: true,
          serialized_name: 'properties.state',
          type: {
            name: 'Enum',
            module: 'ConnectorMappingStates'
          }
        },
        tenant_id: {
          required: false,
          read_only: true,
          serialized_name: 'properties.tenantId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end