Class: NotionAPI::CollectionViewPage
- Inherits:
-
CollectionView
- Object
- Core
- CollectionView
- NotionAPI::CollectionViewPage
- Defined in:
- lib/notion_api/notion_types/collection_view_blocks.rb
Overview
class that represents a CollectionViewPage, inheriting all properties from CollectionView
Constant Summary
Constants included from Utils
Class Attribute Summary collapse
-
.notion_type ⇒ Object
readonly
Returns the value of attribute notion_type.
-
.parent_id ⇒ Object
readonly
Returns the value of attribute parent_id.
-
.type ⇒ Object
readonly
Returns the value of attribute type.
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#parent_id ⇒ Object
readonly
Returns the value of attribute parent_id.
Attributes inherited from CollectionView
#collection_id, #title, #view_id
Attributes inherited from Core
Instance Method Summary collapse
Methods inherited from CollectionView
#add_property, #add_row, #clean_property_names, #create_singleton_methods_and_instance_variables, extract_collection_view_column_names, #initialize, #row, #row_ids, #rows
Methods inherited from Core
#children, #children_ids, #get_page, #initialize
Methods included from Utils
Constructor Details
This class inherits a constructor from NotionAPI::CollectionView
Class Attribute Details
.notion_type ⇒ Object (readonly)
Returns the value of attribute notion_type.
347 348 349 |
# File 'lib/notion_api/notion_types/collection_view_blocks.rb', line 347 def notion_type @notion_type end |
.parent_id ⇒ Object (readonly)
Returns the value of attribute parent_id.
347 348 349 |
# File 'lib/notion_api/notion_types/collection_view_blocks.rb', line 347 def parent_id @parent_id end |
.type ⇒ Object (readonly)
Returns the value of attribute type.
347 348 349 |
# File 'lib/notion_api/notion_types/collection_view_blocks.rb', line 347 def type @type end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
350 351 352 |
# File 'lib/notion_api/notion_types/collection_view_blocks.rb', line 350 def id @id end |
#parent_id ⇒ Object (readonly)
Returns the value of attribute parent_id.
350 351 352 |
# File 'lib/notion_api/notion_types/collection_view_blocks.rb', line 350 def parent_id @parent_id end |
Instance Method Details
#type ⇒ Object
342 343 344 |
# File 'lib/notion_api/notion_types/collection_view_blocks.rb', line 342 def type NotionAPI::CollectionViewRow.notion_type end |