Class: ModerationAPI::Models::WebhookEvent::QueueItemRejected::Data::Object::Item::Label::Match::Signals
Overview
Defined Under Namespace
Classes: BrandImpersonation
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(bot_protection:, brand_impersonation:, domain_age_days:, final_url:, has_email_setup:, has_suspicious_characters:, is_link_shortener:, is_reported:, redirect_count:) ⇒ Object
|
# File 'lib/moderation_api/models/webhook_event.rb', line 5457
|
Instance Attribute Details
#bot_protection ⇒ Boolean?
5411
|
# File 'lib/moderation_api/models/webhook_event.rb', line 5411
required :bot_protection, ModerationAPI::Internal::Type::Boolean, nil?: true
|
5416
5417
5418
5419
5420
|
# File 'lib/moderation_api/models/webhook_event.rb', line 5416
required :brand_impersonation,
-> {
ModerationAPI::WebhookEvent::QueueItemRejected::Data::Object::Item::Label::Match::Signals::BrandImpersonation
},
nil?: true
|
#domain_age_days ⇒ Float?
5425
|
# File 'lib/moderation_api/models/webhook_event.rb', line 5425
required :domain_age_days, Float, nil?: true
|
#final_url ⇒ String?
5430
|
# File 'lib/moderation_api/models/webhook_event.rb', line 5430
required :final_url, String, nil?: true
|
#has_email_setup ⇒ Boolean?
5435
|
# File 'lib/moderation_api/models/webhook_event.rb', line 5435
required :has_email_setup, ModerationAPI::Internal::Type::Boolean, nil?: true
|
#has_suspicious_characters ⇒ Boolean
5440
|
# File 'lib/moderation_api/models/webhook_event.rb', line 5440
required :has_suspicious_characters, ModerationAPI::Internal::Type::Boolean
|
#is_link_shortener ⇒ Boolean
5445
|
# File 'lib/moderation_api/models/webhook_event.rb', line 5445
required :is_link_shortener, ModerationAPI::Internal::Type::Boolean
|
#is_reported ⇒ Boolean
5450
|
# File 'lib/moderation_api/models/webhook_event.rb', line 5450
required :is_reported, ModerationAPI::Internal::Type::Boolean
|
#redirect_count ⇒ Float?
5455
|
# File 'lib/moderation_api/models/webhook_event.rb', line 5455
required :redirect_count, Float, nil?: true
|
Instance Method Details
#to_hash ⇒ {
4145
|
# File 'sig/moderation_api/models/webhook_event.rbs', line 4145
def to_hash: -> {
|