falaai-api 1.21.51 → 1.21.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -6
  3. data/docs/AnalysisApi.md +6 -2
  4. data/docs/DiagnosticParticipant.md +1 -1
  5. data/docs/DiagnosticRequest.md +2 -2
  6. data/docs/DiagnosticResponse.md +3 -1
  7. data/docs/DiagnosticUsage.md +1 -1
  8. data/docs/Participant.md +1 -1
  9. data/docs/ParticipantDiagnostic.md +1 -1
  10. data/docs/ResponseExtractConversationsV1WhatsappExtractconversationsPost.md +42 -0
  11. data/docs/RiskAuditAppliedActionV2.md +0 -4
  12. data/docs/RiskAuditAuditDecisionsV2.md +1 -3
  13. data/docs/RiskAuditConversationScoresV2.md +0 -2
  14. data/docs/RiskAuditDetectionItemV2.md +5 -75
  15. data/docs/RiskAuditRequest.md +3 -5
  16. data/docs/RiskAuditSummaryV2.md +0 -4
  17. data/docs/RiskAuditUsageV2.md +1 -1
  18. data/docs/RiskAuditVerdictV2.md +1 -7
  19. data/docs/SpeechApi.md +5 -3
  20. data/docs/TranscriptionUsage.md +1 -1
  21. data/docs/WhatsappApi.md +20 -12
  22. data/docs/WhatsappConversation.md +1 -1
  23. data/docs/WhatsappMeta.md +7 -3
  24. data/docs/WhatsappPreviewItem.md +32 -0
  25. data/docs/WhatsappPreviewItemBreakdown.md +26 -0
  26. data/docs/WhatsappPreviewItemCredits.md +20 -0
  27. data/docs/WhatsappPreviewItemMedia.md +30 -0
  28. data/docs/WhatsappPreviewParams.md +32 -0
  29. data/docs/WhatsappPreviewResponse.md +32 -0
  30. data/docs/WhatsappPreviewWindow.md +22 -0
  31. data/docs/WhatsappUsage.md +17 -1
  32. data/docs/index.html +58 -29
  33. data/lib/falaai-api/api/analysis_api.rb +5 -1
  34. data/lib/falaai-api/api/email_alerts_api.rb +1 -1
  35. data/lib/falaai-api/api/health_api.rb +1 -1
  36. data/lib/falaai-api/api/speech_api.rb +7 -5
  37. data/lib/falaai-api/api/usage_api.rb +1 -1
  38. data/lib/falaai-api/api/version_api.rb +1 -1
  39. data/lib/falaai-api/api/webhooks_api.rb +1 -1
  40. data/lib/falaai-api/api/whatsapp_api.rb +27 -24
  41. data/lib/falaai-api/api_client.rb +1 -1
  42. data/lib/falaai-api/api_error.rb +1 -1
  43. data/lib/falaai-api/api_model_base.rb +1 -1
  44. data/lib/falaai-api/configuration.rb +1 -1
  45. data/lib/falaai-api/models/audio_event.rb +1 -1
  46. data/lib/falaai-api/models/audio_input_meta.rb +1 -1
  47. data/lib/falaai-api/models/create_email_alert_request.rb +1 -1
  48. data/lib/falaai-api/models/create_webhook_request.rb +1 -1
  49. data/lib/falaai-api/models/diagnostic_analysis_map.rb +1 -1
  50. data/lib/falaai-api/models/diagnostic_audio_event.rb +1 -1
  51. data/lib/falaai-api/models/diagnostic_categorical_analysis.rb +1 -1
  52. data/lib/falaai-api/models/diagnostic_participant.rb +2 -9
  53. data/lib/falaai-api/models/diagnostic_request.rb +5 -12
  54. data/lib/falaai-api/models/diagnostic_response.rb +15 -5
  55. data/lib/falaai-api/models/diagnostic_text_analysis.rb +1 -1
  56. data/lib/falaai-api/models/diagnostic_usage.rb +3 -3
  57. data/lib/falaai-api/models/email_alert_item.rb +1 -1
  58. data/lib/falaai-api/models/email_alert_list_response.rb +1 -1
  59. data/lib/falaai-api/models/email_alert_message_response.rb +1 -1
  60. data/lib/falaai-api/models/email_event.rb +1 -1
  61. data/lib/falaai-api/models/health_response.rb +1 -1
  62. data/lib/falaai-api/models/http_validation_error.rb +1 -1
  63. data/lib/falaai-api/models/location_inner.rb +1 -1
  64. data/lib/falaai-api/models/message_response.rb +1 -1
  65. data/lib/falaai-api/models/participant.rb +2 -2
  66. data/lib/falaai-api/models/participant_diagnostic.rb +2 -19
  67. data/lib/falaai-api/models/response_extract_conversations_v1_whatsapp_extractconversations_post.rb +103 -0
  68. data/lib/falaai-api/models/risk_audit_analysis_v2.rb +1 -1
  69. data/lib/falaai-api/models/risk_audit_applied_action_v2.rb +2 -26
  70. data/lib/falaai-api/models/risk_audit_audio_event_model_v2.rb +1 -1
  71. data/lib/falaai-api/models/risk_audit_audit_decisions_v2.rb +5 -17
  72. data/lib/falaai-api/models/risk_audit_conversation_scores_v2.rb +2 -12
  73. data/lib/falaai-api/models/risk_audit_detection_item_v2.rb +19 -393
  74. data/lib/falaai-api/models/risk_audit_detections_v2.rb +1 -1
  75. data/lib/falaai-api/models/risk_audit_indexer_v2.rb +1 -1
  76. data/lib/falaai-api/models/risk_audit_meta_v2.rb +1 -1
  77. data/lib/falaai-api/models/risk_audit_participant_v2.rb +1 -1
  78. data/lib/falaai-api/models/risk_audit_participants_v2.rb +1 -1
  79. data/lib/falaai-api/models/risk_audit_request.rb +11 -37
  80. data/lib/falaai-api/models/risk_audit_scores_v2.rb +1 -1
  81. data/lib/falaai-api/models/risk_audit_scoring_explanation_v2.rb +1 -1
  82. data/lib/falaai-api/models/risk_audit_summary_v2.rb +2 -24
  83. data/lib/falaai-api/models/risk_audit_timeline_v2.rb +1 -1
  84. data/lib/falaai-api/models/risk_audit_usage_v2.rb +2 -2
  85. data/lib/falaai-api/models/risk_audit_v2.rb +1 -1
  86. data/lib/falaai-api/models/risk_audit_v2_response.rb +1 -1
  87. data/lib/falaai-api/models/risk_audit_verdict_v2.rb +5 -36
  88. data/lib/falaai-api/models/transcription_response.rb +1 -1
  89. data/lib/falaai-api/models/transcription_usage.rb +2 -2
  90. data/lib/falaai-api/models/update_email_alert_request.rb +1 -1
  91. data/lib/falaai-api/models/update_webhook_request.rb +1 -1
  92. data/lib/falaai-api/models/usage_by_key_item.rb +1 -1
  93. data/lib/falaai-api/models/usage_log_item.rb +1 -1
  94. data/lib/falaai-api/models/usage_log_response.rb +1 -1
  95. data/lib/falaai-api/models/validation_error.rb +1 -1
  96. data/lib/falaai-api/models/version_response.rb +1 -1
  97. data/lib/falaai-api/models/webhook_event.rb +1 -1
  98. data/lib/falaai-api/models/webhook_item.rb +1 -1
  99. data/lib/falaai-api/models/webhook_list_response.rb +1 -1
  100. data/lib/falaai-api/models/whatsapp_conversation.rb +2 -2
  101. data/lib/falaai-api/models/whatsapp_conversations_response.rb +30 -6
  102. data/lib/falaai-api/models/whatsapp_meta.rb +86 -32
  103. data/lib/falaai-api/models/whatsapp_preview_item.rb +354 -0
  104. data/lib/falaai-api/models/whatsapp_preview_item_breakdown.rb +273 -0
  105. data/lib/falaai-api/models/whatsapp_preview_item_credits.rb +192 -0
  106. data/lib/falaai-api/models/whatsapp_preview_item_media.rb +329 -0
  107. data/lib/falaai-api/models/whatsapp_preview_params.rb +354 -0
  108. data/lib/falaai-api/models/whatsapp_preview_response.rb +384 -0
  109. data/lib/falaai-api/models/whatsapp_preview_window.rb +219 -0
  110. data/lib/falaai-api/models/whatsapp_speaker.rb +1 -1
  111. data/lib/falaai-api/models/whatsapp_usage.rb +220 -4
  112. data/lib/falaai-api/version.rb +15 -15
  113. data/lib/falaai-api.rb +9 -1
  114. metadata +18 -2
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 1.21.51
6
+ The version of the OpenAPI document: 1.21.67
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 1.21.51
6
+ The version of the OpenAPI document: 1.21.67
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 1.21.51
6
+ The version of the OpenAPI document: 1.21.67
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 1.21.51
6
+ The version of the OpenAPI document: 1.21.67
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -21,7 +21,7 @@ module FalaAI
21
21
  # Participant name (humanizes report, does not affect logic)
22
22
  attr_accessor :name
23
23
 
24
- # Role: agent (human operator), client (customer), bot (IVR/AI)
24
+ # Role: agent (human operator), client (customer), bot (IVR/AI). Required for risk audit.
25
25
  attr_accessor :role
26
26
 
27
27
  class EnumAttributeValidator
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 1.21.51
6
+ The version of the OpenAPI document: 1.21.67
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -18,7 +18,7 @@ module FalaAI
18
18
  # Exact speaker label from the dialog (e.g. 'Speaker 1')
19
19
  attr_accessor :interlocutor
20
20
 
21
- # Role: agent | client | bot | agent_requester | agent_custodian
21
+ # Role: agent | client | bot | agent_requester | agent_custodian (null when not informed/inferred)
22
22
  attr_accessor :role
23
23
 
24
24
  # Participant name if mentioned in the dialogue
@@ -92,8 +92,6 @@ module FalaAI
92
92
 
93
93
  if attributes.key?(:'role')
94
94
  self.role = attributes[:'role']
95
- else
96
- self.role = nil
97
95
  end
98
96
 
99
97
  if attributes.key?(:'name')
@@ -118,10 +116,6 @@ module FalaAI
118
116
  invalid_properties.push('invalid value for "interlocutor", interlocutor cannot be nil.')
119
117
  end
120
118
 
121
- if @role.nil?
122
- invalid_properties.push('invalid value for "role", role cannot be nil.')
123
- end
124
-
125
119
  invalid_properties
126
120
  end
127
121
 
@@ -130,7 +124,6 @@ module FalaAI
130
124
  def valid?
131
125
  warn '[DEPRECATED] the `valid?` method is obsolete'
132
126
  return false if @interlocutor.nil?
133
- return false if @role.nil?
134
127
  true
135
128
  end
136
129
 
@@ -144,16 +137,6 @@ module FalaAI
144
137
  @interlocutor = interlocutor
145
138
  end
146
139
 
147
- # Custom attribute writer method with validation
148
- # @param [Object] role Value to be assigned
149
- def role=(role)
150
- if role.nil?
151
- fail ArgumentError, 'role cannot be nil'
152
- end
153
-
154
- @role = role
155
- end
156
-
157
140
  # Checks equality by comparing each attribute.
158
141
  # @param [Object] Object to be compared
159
142
  def ==(o)
@@ -0,0 +1,103 @@
1
+ =begin
2
+ #FalaAI API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.21.67
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.25.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module FalaAI
17
+ module ResponseExtractConversationsV1WhatsappExtractconversationsPost
18
+ class << self
19
+ # List of class defined in anyOf (OpenAPI v3)
20
+ def openapi_any_of
21
+ [
22
+ :'WhatsappConversationsResponse',
23
+ :'WhatsappPreviewResponse'
24
+ ]
25
+ end
26
+
27
+ # Builds the object
28
+ # @param [Mixed] Data to be matched against the list of anyOf items
29
+ # @return [Object] Returns the model or the data itself
30
+ def build(data)
31
+ # Go through the list of anyOf items and attempt to identify the appropriate one.
32
+ # Note:
33
+ # - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
34
+ # due to the way the deserialization is made in the base_object template (it just casts without verifying).
35
+ # - TODO: scalar values are de facto behaving as if they were nullable.
36
+ # - TODO: logging when debugging is set.
37
+ openapi_any_of.each do |klass|
38
+ begin
39
+ next if klass == :AnyType # "nullable: true"
40
+ return find_and_cast_into_type(klass, data)
41
+ rescue # rescue all errors so we keep iterating even if the current item lookup raises
42
+ end
43
+ end
44
+
45
+ openapi_any_of.include?(:AnyType) ? data : nil
46
+ end
47
+
48
+ private
49
+
50
+ SchemaMismatchError = Class.new(StandardError)
51
+
52
+ # Note: 'File' is missing here because in the regular case we get the data _after_ a call to JSON.parse.
53
+ def find_and_cast_into_type(klass, data)
54
+ return if data.nil?
55
+
56
+ case klass.to_s
57
+ when 'Boolean'
58
+ return data if data.instance_of?(TrueClass) || data.instance_of?(FalseClass)
59
+ when 'Float'
60
+ return data if data.instance_of?(Float)
61
+ when 'Integer'
62
+ return data if data.instance_of?(Integer)
63
+ when 'Time'
64
+ return Time.parse(data)
65
+ when 'Date'
66
+ return Date.iso8601(data)
67
+ when 'String'
68
+ return data if data.instance_of?(String)
69
+ when 'Object' # "type: object"
70
+ return data if data.instance_of?(Hash)
71
+ when /\AArray<(?<sub_type>.+)>\z/ # "type: array"
72
+ if data.instance_of?(Array)
73
+ sub_type = Regexp.last_match[:sub_type]
74
+ return data.map { |item| find_and_cast_into_type(sub_type, item) }
75
+ end
76
+ when /\AHash<String, (?<sub_type>.+)>\z/ # "type: object" with "additionalProperties: { ... }"
77
+ if data.instance_of?(Hash) && data.keys.all? { |k| k.instance_of?(Symbol) || k.instance_of?(String) }
78
+ sub_type = Regexp.last_match[:sub_type]
79
+ return data.each_with_object({}) { |(k, v), hsh| hsh[k] = find_and_cast_into_type(sub_type, v) }
80
+ end
81
+ else # model
82
+ const = FalaAI.const_get(klass)
83
+ if const
84
+ if const.respond_to?(:openapi_any_of) # nested anyOf model
85
+ model = const.build(data)
86
+ return model if model
87
+ else
88
+ # raise if data contains keys that are not known to the model
89
+ raise if const.respond_to?(:acceptable_attributes) && !(data.keys - const.acceptable_attributes).empty?
90
+ model = const.build_from_hash(data)
91
+ return model if model
92
+ end
93
+ end
94
+ end
95
+
96
+ raise # if no match by now, raise
97
+ rescue
98
+ raise SchemaMismatchError, "#{data} doesn't match the #{klass} type"
99
+ end
100
+ end
101
+ end
102
+
103
+ end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 1.21.51
6
+ The version of the OpenAPI document: 1.21.67
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 1.21.51
6
+ The version of the OpenAPI document: 1.21.67
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -27,12 +27,6 @@ module FalaAI
27
27
  # CRITICO/ALTO/MEDIO/BAIXO
28
28
  attr_accessor :priority
29
29
 
30
- # Color
31
- attr_accessor :color
32
-
33
- # Icon
34
- attr_accessor :icon
35
-
36
30
  # Condition
37
31
  attr_accessor :condition
38
32
 
@@ -46,8 +40,6 @@ module FalaAI
46
40
  :'label' => :'label',
47
41
  :'description' => :'description',
48
42
  :'priority' => :'priority',
49
- :'color' => :'color',
50
- :'icon' => :'icon',
51
43
  :'condition' => :'condition',
52
44
  :'reason' => :'reason'
53
45
  }
@@ -70,8 +62,6 @@ module FalaAI
70
62
  :'label' => :'String',
71
63
  :'description' => :'String',
72
64
  :'priority' => :'String',
73
- :'color' => :'String',
74
- :'icon' => :'String',
75
65
  :'condition' => :'String',
76
66
  :'reason' => :'String'
77
67
  }
@@ -123,18 +113,6 @@ module FalaAI
123
113
  self.priority = nil
124
114
  end
125
115
 
126
- if attributes.key?(:'color')
127
- self.color = attributes[:'color']
128
- else
129
- self.color = ''
130
- end
131
-
132
- if attributes.key?(:'icon')
133
- self.icon = attributes[:'icon']
134
- else
135
- self.icon = ''
136
- end
137
-
138
116
  if attributes.key?(:'condition')
139
117
  self.condition = attributes[:'condition']
140
118
  end
@@ -230,8 +208,6 @@ module FalaAI
230
208
  label == o.label &&
231
209
  description == o.description &&
232
210
  priority == o.priority &&
233
- color == o.color &&
234
- icon == o.icon &&
235
211
  condition == o.condition &&
236
212
  reason == o.reason
237
213
  end
@@ -245,7 +221,7 @@ module FalaAI
245
221
  # Calculates hash code according to all attributes.
246
222
  # @return [Integer] Hash code
247
223
  def hash
248
- [action_type, label, description, priority, color, icon, condition, reason].hash
224
+ [action_type, label, description, priority, condition, reason].hash
249
225
  end
250
226
 
251
227
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 1.21.51
6
+ The version of the OpenAPI document: 1.21.67
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 1.21.51
6
+ The version of the OpenAPI document: 1.21.67
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -21,15 +21,11 @@ module FalaAI
21
21
  # Has zero-tolerance violation
22
22
  attr_accessor :has_zero_tolerance_violation
23
23
 
24
- # Deterministic validator changes
25
- attr_accessor :deterministic_validator_changes
26
-
27
24
  # Attribute mapping from ruby-style variable name to JSON key.
28
25
  def self.attribute_map
29
26
  {
30
27
  :'risk_origin' => :'risk_origin',
31
- :'has_zero_tolerance_violation' => :'has_zero_tolerance_violation',
32
- :'deterministic_validator_changes' => :'deterministic_validator_changes'
28
+ :'has_zero_tolerance_violation' => :'has_zero_tolerance_violation'
33
29
  }
34
30
  end
35
31
 
@@ -47,8 +43,7 @@ module FalaAI
47
43
  def self.openapi_types
48
44
  {
49
45
  :'risk_origin' => :'String',
50
- :'has_zero_tolerance_violation' => :'Boolean',
51
- :'deterministic_validator_changes' => :'Array<Object>'
46
+ :'has_zero_tolerance_violation' => :'Boolean'
52
47
  }
53
48
  end
54
49
 
@@ -81,12 +76,6 @@ module FalaAI
81
76
  if attributes.key?(:'has_zero_tolerance_violation')
82
77
  self.has_zero_tolerance_violation = attributes[:'has_zero_tolerance_violation']
83
78
  end
84
-
85
- if attributes.key?(:'deterministic_validator_changes')
86
- if (value = attributes[:'deterministic_validator_changes']).is_a?(Array)
87
- self.deterministic_validator_changes = value
88
- end
89
- end
90
79
  end
91
80
 
92
81
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -110,8 +99,7 @@ module FalaAI
110
99
  return true if self.equal?(o)
111
100
  self.class == o.class &&
112
101
  risk_origin == o.risk_origin &&
113
- has_zero_tolerance_violation == o.has_zero_tolerance_violation &&
114
- deterministic_validator_changes == o.deterministic_validator_changes
102
+ has_zero_tolerance_violation == o.has_zero_tolerance_violation
115
103
  end
116
104
 
117
105
  # @see the `==` method
@@ -123,7 +111,7 @@ module FalaAI
123
111
  # Calculates hash code according to all attributes.
124
112
  # @return [Integer] Hash code
125
113
  def hash
126
- [risk_origin, has_zero_tolerance_violation, deterministic_validator_changes].hash
114
+ [risk_origin, has_zero_tolerance_violation].hash
127
115
  end
128
116
 
129
117
  # Builds the object from hash
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
5
 
6
- The version of the OpenAPI document: 1.21.51
6
+ The version of the OpenAPI document: 1.21.67
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
9
  Generator version: 7.25.0
@@ -39,9 +39,6 @@ module FalaAI
39
39
  # Global risk severity label
40
40
  attr_accessor :global_risk_severity_label
41
41
 
42
- # Global risk severity color
43
- attr_accessor :global_risk_severity_color
44
-
45
42
  # Risk likelihood avg
46
43
  attr_accessor :risk_likelihood_avg
47
44
 
@@ -59,7 +56,6 @@ module FalaAI
59
56
  :'positive_negative_ratio' => :'positive_negative_ratio',
60
57
  :'global_risk_severity' => :'global_risk_severity',
61
58
  :'global_risk_severity_label' => :'global_risk_severity_label',
62
- :'global_risk_severity_color' => :'global_risk_severity_color',
63
59
  :'risk_likelihood_avg' => :'risk_likelihood_avg',
64
60
  :'risk_impact_avg' => :'risk_impact_avg'
65
61
  }
@@ -86,7 +82,6 @@ module FalaAI
86
82
  :'positive_negative_ratio' => :'Object',
87
83
  :'global_risk_severity' => :'String',
88
84
  :'global_risk_severity_label' => :'String',
89
- :'global_risk_severity_color' => :'String',
90
85
  :'risk_likelihood_avg' => :'Float',
91
86
  :'risk_impact_avg' => :'Float'
92
87
  }
@@ -149,10 +144,6 @@ module FalaAI
149
144
  self.global_risk_severity_label = attributes[:'global_risk_severity_label']
150
145
  end
151
146
 
152
- if attributes.key?(:'global_risk_severity_color')
153
- self.global_risk_severity_color = attributes[:'global_risk_severity_color']
154
- end
155
-
156
147
  if attributes.key?(:'risk_likelihood_avg')
157
148
  self.risk_likelihood_avg = attributes[:'risk_likelihood_avg']
158
149
  end
@@ -190,7 +181,6 @@ module FalaAI
190
181
  positive_negative_ratio == o.positive_negative_ratio &&
191
182
  global_risk_severity == o.global_risk_severity &&
192
183
  global_risk_severity_label == o.global_risk_severity_label &&
193
- global_risk_severity_color == o.global_risk_severity_color &&
194
184
  risk_likelihood_avg == o.risk_likelihood_avg &&
195
185
  risk_impact_avg == o.risk_impact_avg
196
186
  end
@@ -204,7 +194,7 @@ module FalaAI
204
194
  # Calculates hash code according to all attributes.
205
195
  # @return [Integer] Hash code
206
196
  def hash
207
- [consolidated_score, violation_density_per_min, sentiment_trend, pct_turns_with_violation, most_critical_turn, positive_negative_ratio, global_risk_severity, global_risk_severity_label, global_risk_severity_color, risk_likelihood_avg, risk_impact_avg].hash
197
+ [consolidated_score, violation_density_per_min, sentiment_trend, pct_turns_with_violation, most_critical_turn, positive_negative_ratio, global_risk_severity, global_risk_severity_label, risk_likelihood_avg, risk_impact_avg].hash
208
198
  end
209
199
 
210
200
  # Builds the object from hash