Class: HubSpotSDK::Models::Cms::LayoutSection
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- HubSpotSDK::Models::Cms::LayoutSection
- Defined in:
- lib/hubspot_sdk/models/cms/layout_section.rb
Instance Attribute Summary collapse
- #cells ⇒ Array<HubSpotSDK::Models::Cms::LayoutSection>
-
#css_class ⇒ String
The CSS class applied to the layout section.
-
#css_id ⇒ String
The CSS ID applied to the layout section.
-
#css_style ⇒ String
Custom CSS styles applied to the layout section.
-
#label ⇒ String
The label for the layout section.
-
#name ⇒ String
The name assigned to the layout section.
-
#params ⇒ Hash{Symbol=>Object}
null.
- #row_meta_data ⇒ Array<HubSpotSDK::Models::Cms::RowMetaData>
- #rows ⇒ Array<Hash{Symbol=>HubSpotSDK::Models::Cms::LayoutSection}>
- #styles ⇒ HubSpotSDK::Models::Cms::Styles
-
#type ⇒ String
The type of the layout section.
-
#w ⇒ Integer
The width of the layout section.
-
#x ⇒ Integer
The x-coordinate position of the layout section.
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(cells:, css_class:, css_id:, css_style:, label:, name:, params:, row_meta_data:, rows:, styles:, type:, w:, x:) ⇒ Object
|
|
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 84
|
Instance Attribute Details
#cells ⇒ Array<HubSpotSDK::Models::Cms::LayoutSection>
10 |
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 10 required :cells, -> { HubSpotSDK::Internal::Type::ArrayOf[HubSpotSDK::Cms::LayoutSection] } |
#css_class ⇒ String
The CSS class applied to the layout section.
16 |
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 16 required :css_class, String, api_name: :cssClass |
#css_id ⇒ String
The CSS ID applied to the layout section.
22 |
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 22 required :css_id, String, api_name: :cssId |
#css_style ⇒ String
Custom CSS styles applied to the layout section.
28 |
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 28 required :css_style, String, api_name: :cssStyle |
#label ⇒ String
The label for the layout section.
34 |
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 34 required :label, String |
#name ⇒ String
The name assigned to the layout section.
40 |
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 40 required :name, String |
#params ⇒ Hash{Symbol=>Object}
null
46 |
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 46 required :params, HubSpotSDK::Internal::Type::HashOf[HubSpotSDK::Internal::Type::Unknown] |
#row_meta_data ⇒ Array<HubSpotSDK::Models::Cms::RowMetaData>
51 52 53 |
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 51 required :row_meta_data, -> { HubSpotSDK::Internal::Type::ArrayOf[HubSpotSDK::Cms::RowMetaData] }, api_name: :rowMetaData |
#rows ⇒ Array<Hash{Symbol=>HubSpotSDK::Models::Cms::LayoutSection}>
58 59 |
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 58 required :rows, -> { HubSpotSDK::Internal::Type::ArrayOf[HubSpotSDK::Internal::Type::HashOf[HubSpotSDK::Cms::LayoutSection]] } |
#styles ⇒ HubSpotSDK::Models::Cms::Styles
64 |
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 64 required :styles, -> { HubSpotSDK::Cms::Styles } |
#type ⇒ String
The type of the layout section.
70 |
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 70 required :type, String |
#w ⇒ Integer
The width of the layout section.
76 |
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 76 required :w, Integer |
#x ⇒ Integer
The x-coordinate position of the layout section.
82 |
# File 'lib/hubspot_sdk/models/cms/layout_section.rb', line 82 required :x, Integer |