Class: HubSpotSDK::Models::Cms::EventVisibilityChange

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/cms/event_visibility_change.rb

Overview

Defined Under Namespace

Modules: EventType

Instance Attribute 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(event_type:, updated_at:, show_in_reporting: nil, show_in_timeline: nil, show_in_workflows: nil) ⇒ Object

Parameters:



# File 'lib/hubspot_sdk/models/cms/event_visibility_change.rb', line 37

Instance Attribute Details

#event_typeSymbol, HubSpotSDK::Models::Cms::EventVisibilityChange::EventType



11
12
13
14
15
# File 'lib/hubspot_sdk/models/cms/event_visibility_change.rb', line 11

required :event_type,
enum: -> {
  HubSpotSDK::Cms::EventVisibilityChange::EventType
},
api_name: :eventType

#show_in_reportingBoolean?

Returns:

  • (Boolean, nil)


25
# File 'lib/hubspot_sdk/models/cms/event_visibility_change.rb', line 25

optional :show_in_reporting, HubSpotSDK::Internal::Type::Boolean, api_name: :showInReporting

#show_in_timelineBoolean?

Returns:

  • (Boolean, nil)


30
# File 'lib/hubspot_sdk/models/cms/event_visibility_change.rb', line 30

optional :show_in_timeline, HubSpotSDK::Internal::Type::Boolean, api_name: :showInTimeline

#show_in_workflowsBoolean?

Returns:

  • (Boolean, nil)


35
# File 'lib/hubspot_sdk/models/cms/event_visibility_change.rb', line 35

optional :show_in_workflows, HubSpotSDK::Internal::Type::Boolean, api_name: :showInWorkflows

#updated_atInteger

Returns:

  • (Integer)


20
# File 'lib/hubspot_sdk/models/cms/event_visibility_change.rb', line 20

required :updated_at, Integer, api_name: :updatedAt