Class: HubSpotSDK::Models::Marketing::PublicFontStyle

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/marketing/public_font_style.rb

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(bold: nil, color: nil, font: nil, italic: nil, size: nil, underline: nil) ⇒ Object

Parameters:

  • bold (Boolean) (defaults to: nil)
  • color (String) (defaults to: nil)
  • font (String) (defaults to: nil)
  • italic (Boolean) (defaults to: nil)
  • size (Integer) (defaults to: nil)
  • underline (Boolean) (defaults to: nil)


# File 'lib/hubspot_sdk/models/marketing/public_font_style.rb', line 37

Instance Attribute Details

#boldBoolean?

Returns:

  • (Boolean, nil)


10
# File 'lib/hubspot_sdk/models/marketing/public_font_style.rb', line 10

optional :bold, HubSpotSDK::Internal::Type::Boolean

#colorString?

Returns:

  • (String, nil)


15
# File 'lib/hubspot_sdk/models/marketing/public_font_style.rb', line 15

optional :color, String

#fontString?

Returns:

  • (String, nil)


20
# File 'lib/hubspot_sdk/models/marketing/public_font_style.rb', line 20

optional :font, String

#italicBoolean?

Returns:

  • (Boolean, nil)


25
# File 'lib/hubspot_sdk/models/marketing/public_font_style.rb', line 25

optional :italic, HubSpotSDK::Internal::Type::Boolean

#sizeInteger?

Returns:

  • (Integer, nil)


30
# File 'lib/hubspot_sdk/models/marketing/public_font_style.rb', line 30

optional :size, Integer

#underlineBoolean?

Returns:

  • (Boolean, nil)


35
# File 'lib/hubspot_sdk/models/marketing/public_font_style.rb', line 35

optional :underline, HubSpotSDK::Internal::Type::Boolean