Class: Azure::CustomerInsights::Mgmt::V2017_04_26::Models::PredictionResourceFormat

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

Overview

The prediction resource format.

Instance Attribute Summary collapse

Attributes inherited from ProxyResource

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#auto_analyzeBoolean

Returns Whether do auto analyze.

Returns:

  • (Boolean)

    Whether do auto analyze.



54
55
56
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 54

def auto_analyze
  @auto_analyze
end

#descriptionHash{String => String}

Returns Description of the prediction.

Returns:

  • (Hash{String => String})

    Description of the prediction.



16
17
18
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 16

def description
  @description
end

#display_nameHash{String => String}

Returns Display name of the prediction.

Returns:

  • (Hash{String => String})

    Display name of the prediction.



19
20
21
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 19

def display_name
  @display_name
end

#gradesArray<PredictionGradesItem>

Returns The prediction grades.

Returns:



64
65
66
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 64

def grades
  @grades
end

#involved_interaction_typesArray<String>

Returns Interaction types involved in the prediction.

Returns:

  • (Array<String>)

    Interaction types involved in the prediction.



22
23
24
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 22

def involved_interaction_types
  @involved_interaction_types
end

#involved_kpi_typesArray<String>

Returns KPI types involved in the prediction.

Returns:

  • (Array<String>)

    KPI types involved in the prediction.



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

def involved_kpi_types
  @involved_kpi_types
end

#involved_relationshipsArray<String>

Returns Relationships involved in the prediction.

Returns:

  • (Array<String>)

    Relationships involved in the prediction.



28
29
30
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 28

def involved_relationships
  @involved_relationships
end

#mappingsPredictionMappings

prediction.

Returns:



58
59
60
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 58

def mappings
  @mappings
end

#negative_outcome_expressionString

Returns Negative outcome expression.

Returns:

  • (String)

    Negative outcome expression.



31
32
33
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 31

def negative_outcome_expression
  @negative_outcome_expression
end

#positive_outcome_expressionString

Returns Positive outcome expression.

Returns:

  • (String)

    Positive outcome expression.



34
35
36
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 34

def positive_outcome_expression
  @positive_outcome_expression
end

#prediction_nameString

Returns Name of the prediction.

Returns:

  • (String)

    Name of the prediction.



45
46
47
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 45

def prediction_name
  @prediction_name
end

#primary_profile_typeString

Returns Primary profile type.

Returns:

  • (String)

    Primary profile type.



37
38
39
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 37

def primary_profile_type
  @primary_profile_type
end

#provisioning_stateProvisioningStates

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

Returns:



42
43
44
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 42

def provisioning_state
  @provisioning_state
end

#scope_expressionString

Returns Scope expression.

Returns:

  • (String)

    Scope expression.



48
49
50
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 48

def scope_expression
  @scope_expression
end

#score_labelString

Returns Score label.

Returns:

  • (String)

    Score label.



61
62
63
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 61

def score_label
  @score_label
end

#system_generated_entitiesPredictionSystemGeneratedEntities

Returns System generated entities.

Returns:



67
68
69
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 67

def system_generated_entities
  @system_generated_entities
end

#tenant_idString

Returns The hub name.

Returns:

  • (String)

    The hub name.



51
52
53
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 51

def tenant_id
  @tenant_id
end

Class Method Details

.mapperObject

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



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
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
# File 'lib/2017-04-26/generated/azure_mgmt_customer_insights/models/prediction_resource_format.rb', line 74

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PredictionResourceFormat',
    type: {
      name: 'Composite',
      class_name: 'PredictionResourceFormat',
      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'
          }
        },
        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'
                }
            }
          }
        },
        involved_interaction_types: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.involvedInteractionTypes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        involved_kpi_types: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.involvedKpiTypes',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        involved_relationships: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.involvedRelationships',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        negative_outcome_expression: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.negativeOutcomeExpression',
          type: {
            name: 'String'
          }
        },
        positive_outcome_expression: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.positiveOutcomeExpression',
          type: {
            name: 'String'
          }
        },
        primary_profile_type: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.primaryProfileType',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        prediction_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.predictionName',
          type: {
            name: 'String'
          }
        },
        scope_expression: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.scopeExpression',
          type: {
            name: 'String'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.tenantId',
          type: {
            name: 'String'
          }
        },
        auto_analyze: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.autoAnalyze',
          type: {
            name: 'Boolean'
          }
        },
        mappings: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.mappings',
          type: {
            name: 'Composite',
            class_name: 'PredictionMappings'
          }
        },
        score_label: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.scoreLabel',
          type: {
            name: 'String'
          }
        },
        grades: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.grades',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PredictionGradesItemElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PredictionGradesItem'
                }
            }
          }
        },
        system_generated_entities: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.systemGeneratedEntities',
          type: {
            name: 'Composite',
            class_name: 'PredictionSystemGeneratedEntities'
          }
        }
      }
    }
  }
end