Class: HubSpotSDK::Models::Events::PropertyFilter

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/events/property_filter.rb

Defined Under Namespace

Modules: FilterType, Operation

Instance Attribute Summary collapse

Class Method Summary collapse

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:, operation:, property:, context: nil, filter_insights_id: nil, framework_filter_id: nil) ⇒ Object



# File 'lib/hubspot_sdk/models/events/property_filter.rb', line 41

Instance Attribute Details

#contextHubSpotSDK::Models::Events::PropertyFilterContext?



29
# File 'lib/hubspot_sdk/models/events/property_filter.rb', line 29

optional :context, -> { HubSpotSDK::Events::PropertyFilterContext }

#filter_insights_idInteger?

Returns:

  • (Integer, nil)


34
# File 'lib/hubspot_sdk/models/events/property_filter.rb', line 34

optional :filter_insights_id, Integer, api_name: :filterInsightsId

#filter_typeSymbol, HubSpotSDK::Models::Events::PropertyFilter::FilterType



10
11
12
13
14
# File 'lib/hubspot_sdk/models/events/property_filter.rb', line 10

required :filter_type,
enum: -> {
  HubSpotSDK::Events::PropertyFilter::FilterType
},
api_name: :filterType

#framework_filter_idInteger?

Returns:

  • (Integer, nil)


39
# File 'lib/hubspot_sdk/models/events/property_filter.rb', line 39

optional :framework_filter_id, Integer, api_name: :frameworkFilterId

#propertyString

Returns:

  • (String)


24
# File 'lib/hubspot_sdk/models/events/property_filter.rb', line 24

required :property, String

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/hubspot_sdk/models/events/property_filter.rb', line 55