Class: HubSpotSDK::Models::Crm::PublicConstantFilter
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- HubSpotSDK::Models::Crm::PublicConstantFilter
- Defined in:
- lib/hubspot_sdk/models/crm/public_constant_filter.rb
Defined Under Namespace
Modules: FilterType
Instance Attribute Summary collapse
-
#filter_type ⇒ Symbol, HubSpotSDK::Models::Crm::PublicConstantFilter::FilterType
Specifies the type of filter, which is (CONSTANT).
-
#should_accept ⇒ Boolean
Indicates whether the filter should accept the condition.
-
#source ⇒ String?
Defines the source of the constant filter.
Instance Method Summary collapse
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(filter_type:, should_accept:, source: nil) ⇒ Object
|
|
# File 'lib/hubspot_sdk/models/crm/public_constant_filter.rb', line 27
|
Instance Attribute Details
#filter_type ⇒ Symbol, HubSpotSDK::Models::Crm::PublicConstantFilter::FilterType
Specifies the type of filter, which is (CONSTANT).
11 12 13 |
# File 'lib/hubspot_sdk/models/crm/public_constant_filter.rb', line 11 required :filter_type, enum: -> { HubSpotSDK::Crm::PublicConstantFilter::FilterType }, api_name: :filterType |
#should_accept ⇒ Boolean
Indicates whether the filter should accept the condition.
19 |
# File 'lib/hubspot_sdk/models/crm/public_constant_filter.rb', line 19 required :should_accept, HubSpotSDK::Internal::Type::Boolean, api_name: :shouldAccept |
#source ⇒ String?
Defines the source of the constant filter.
25 |
# File 'lib/hubspot_sdk/models/crm/public_constant_filter.rb', line 25 optional :source, String |