Class: HubSpotSDK::Models::Cms::BackgroundImage
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- HubSpotSDK::Models::Cms::BackgroundImage
- Defined in:
- lib/hubspot_sdk/models/cms/background_image.rb
Instance Attribute Summary collapse
-
#background_position ⇒ String
Defines the position of the background image.
-
#background_size ⇒ String
Specifies the size of the background image.
-
#image_url ⇒ String
The URL of the background image.
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(background_position:, background_size:, image_url:) ⇒ Object
|
|
# File 'lib/hubspot_sdk/models/cms/background_image.rb', line 25
|
Instance Attribute Details
#background_position ⇒ String
Defines the position of the background image.
11 |
# File 'lib/hubspot_sdk/models/cms/background_image.rb', line 11 required :background_position, String, api_name: :backgroundPosition |
#background_size ⇒ String
Specifies the size of the background image.
17 |
# File 'lib/hubspot_sdk/models/cms/background_image.rb', line 17 required :background_size, String, api_name: :backgroundSize |
#image_url ⇒ String
The URL of the background image.
23 |
# File 'lib/hubspot_sdk/models/cms/background_image.rb', line 23 required :image_url, String, api_name: :imageUrl |