Class: Azure::CustomerInsights::Mgmt::V2017_01_01::Models::ProfileResourceFormat

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

Overview

The profile resource format.

Instance Attribute Summary collapse

Attributes inherited from ProxyResource

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#api_entity_set_nameString

set name for the entity Type being refered in this object.

Returns:

  • (String)

    The api entity set name. This becomes the odata entity



44
45
46
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 44

def api_entity_set_name
  @api_entity_set_name
end

#attributesHash{String => Array<String>}

Returns The attributes for the Type.

Returns:

  • (Hash{String => Array<String>})

    The attributes for the Type.



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

def attributes
  @attributes
end

#descriptionHash{String => String}

property.

Returns:

  • (Hash{String => String})

    Localized descriptions for the



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

def description
  @description
end

#display_nameHash{String => String}

property.

Returns:

  • (Hash{String => String})

    Localized display names for the



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

def display_name
  @display_name
end

#entity_typeEntityTypes

‘Profile’, ‘Interaction’, ‘Relationship’

Returns:

  • (EntityTypes)

    Type of entity. Possible values include: ‘None’,



48
49
50
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 48

def entity_type
  @entity_type
end

#fieldsArray<PropertyDefinition>

Returns The properties of the Profile.

Returns:



51
52
53
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 51

def fields
  @fields
end

#instances_countInteger

Returns The instance count.

Returns:

  • (Integer)

    The instance count.



54
55
56
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 54

def instances_count
  @instances_count
end

#large_imageString

EntityType.

Returns:

  • (String)

    Large Image associated with the Property or



40
41
42
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 40

def large_image
  @large_image
end

#last_changed_utcDateTime

Returns The last changed time for the type definition.

Returns:

  • (DateTime)

    The last changed time for the type definition.



57
58
59
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 57

def last_changed_utc
  @last_changed_utc
end

#localized_attributesHash{String => Hash{String => String}}

attributes for the Type.

Returns:

  • (Hash{String => Hash{String => String}})

    Any custom localized



28
29
30
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 28

def localized_attributes
  @localized_attributes
end

#medium_imageString

EntityType.

Returns:

  • (String)

    Medium Image associated with the Property or



36
37
38
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 36

def medium_image
  @medium_image
end

#provisioning_stateProvisioningStates

include: ‘Provisioning’, ‘Succeeded’, ‘Expiring’, ‘Deleting’, ‘HumanIntervention’, ‘Failed’

Returns:



62
63
64
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 62

def provisioning_state
  @provisioning_state
end

suggest semantic models.

Returns:

  • (String)

    The schema org link. This helps ACI identify and



66
67
68
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 66

def schema_item_type_link
  @schema_item_type_link
end

#small_imageString

EntityType.

Returns:

  • (String)

    Small Image associated with the Property or



32
33
34
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 32

def small_image
  @small_image
end

#strong_idsArray<StrongId>

Returns The strong IDs.

Returns:



79
80
81
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 79

def strong_ids
  @strong_ids
end

#tenant_idString

Returns The hub name.

Returns:

  • (String)

    The hub name.



69
70
71
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 69

def tenant_id
  @tenant_id
end

#timestamp_field_nameString

the interaction or profile update happened.

Returns:

  • (String)

    The timestamp property name. Represents the time when



73
74
75
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 73

def timestamp_field_name
  @timestamp_field_name
end

#type_nameString

Returns The name of the entity.

Returns:

  • (String)

    The name of the entity.



76
77
78
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 76

def type_name
  @type_name
end

Class Method Details

.mapperObject

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



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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
# File 'lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb', line 86

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ProfileResourceFormat',
    type: {
      name: 'Composite',
      class_name: 'ProfileResourceFormat',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        attributes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.attributes',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ArrayElementType',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
            }
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.displayName',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        localized_attributes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.localizedAttributes',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HashElementType',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      type: {
                        name: 'String'
                      }
                  }
                }
            }
          }
        },
        small_image: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.smallImage',
          type: {
            name: 'String'
          }
        },
        medium_image: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.mediumImage',
          type: {
            name: 'String'
          }
        },
        large_image: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.largeImage',
          type: {
            name: 'String'
          }
        },
        api_entity_set_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.apiEntitySetName',
          type: {
            name: 'String'
          }
        },
        entity_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.entityType',
          type: {
            name: 'Enum',
            module: 'EntityTypes'
          }
        },
        fields: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.fields',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PropertyDefinitionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PropertyDefinition'
                }
            }
          }
        },
        instances_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.instancesCount',
          type: {
            name: 'Number'
          }
        },
        last_changed_utc: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.lastChangedUtc',
          type: {
            name: 'DateTime'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        schema_item_type_link: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.schemaItemTypeLink',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.tenantId',
          type: {
            name: 'String'
          }
        },
        timestamp_field_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.timestampFieldName',
          type: {
            name: 'String'
          }
        },
        type_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.typeName',
          type: {
            name: 'String'
          }
        },
        strong_ids: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.strongIds',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StrongIdElementType',
                type: {
                  name: 'Composite',
                  class_name: 'StrongId'
                }
            }
          }
        }
      }
    }
  }
end