Class: Telnyx::Models::ReputationData
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::ReputationData
- Defined in:
- lib/telnyx/models/reputation_data.rb
Defined Under Namespace
Modules: SpamRisk
Instance Attribute Summary collapse
-
#connection_score ⇒ Integer?
Connection quality metric (0–100).
-
#engagement_score ⇒ Integer?
Engagement metric (0–100).
-
#last_refreshed_at ⇒ Time?
Timestamp of the last reputation data refresh.
-
#maturity_score ⇒ Integer?
Maturity metric (0–100).
-
#sentiment_score ⇒ Integer?
Sentiment metric (0–100).
-
#spam_category ⇒ String?
Spam category classification (e.g., Telemarketing, Debt Collector).
-
#spam_risk ⇒ Symbol, ...
Overall spam risk level.
Instance Method Summary collapse
-
#initialize(connection_score: nil, engagement_score: nil, last_refreshed_at: nil, maturity_score: nil, sentiment_score: nil, spam_category: nil, spam_risk: nil) ⇒ Object
constructor
Reputation metrics.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(connection_score: nil, engagement_score: nil, last_refreshed_at: nil, maturity_score: nil, sentiment_score: nil, spam_category: nil, spam_risk: nil) ⇒ Object
Reputation metrics
|
|
# File 'lib/telnyx/models/reputation_data.rb', line 48
|
Instance Attribute Details
#connection_score ⇒ Integer?
Connection quality metric (0–100)
10 |
# File 'lib/telnyx/models/reputation_data.rb', line 10 optional :connection_score, Integer, nil?: true |
#engagement_score ⇒ Integer?
Engagement metric (0–100). Higher = more positive engagement
16 |
# File 'lib/telnyx/models/reputation_data.rb', line 16 optional :engagement_score, Integer, nil?: true |
#last_refreshed_at ⇒ Time?
Timestamp of the last reputation data refresh
22 |
# File 'lib/telnyx/models/reputation_data.rb', line 22 optional :last_refreshed_at, Time, nil?: true |
#maturity_score ⇒ Integer?
Maturity metric (0–100). Higher = more established number
28 |
# File 'lib/telnyx/models/reputation_data.rb', line 28 optional :maturity_score, Integer, nil?: true |
#sentiment_score ⇒ Integer?
Sentiment metric (0–100). Higher = more positive sentiment
34 |
# File 'lib/telnyx/models/reputation_data.rb', line 34 optional :sentiment_score, Integer, nil?: true |
#spam_category ⇒ String?
Spam category classification (e.g., Telemarketing, Debt Collector)
40 |
# File 'lib/telnyx/models/reputation_data.rb', line 40 optional :spam_category, String, nil?: true |
#spam_risk ⇒ Symbol, ...
Overall spam risk level
46 |
# File 'lib/telnyx/models/reputation_data.rb', line 46 optional :spam_risk, enum: -> { Telnyx::ReputationData::SpamRisk }, nil?: true |