Class: Vk::API::Video::CatBlock
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Video::CatBlock
- Defined in:
- lib/vk/api/video/cat_block.rb
Overview
Instance Method Summary collapse
-
#can_hide ⇒ API::Base::BoolInt
Information whether the block can be hidden.
-
#id ⇒ Integer
Block ID.
- #items ⇒ Array
-
#name ⇒ String
Block name.
-
#next ⇒ String
New value for from parameter.
-
#type ⇒ String
Block type.
-
#view ⇒ String
Type of view.
Instance Method Details
#can_hide ⇒ API::Base::BoolInt
21 |
# File 'lib/vk/api/video/cat_block.rb', line 21 attribute :can_hide, API::Base::BoolInt |
#id ⇒ Integer
17 |
# File 'lib/vk/api/video/cat_block.rb', line 17 attribute :id, API::Types::Coercible::Int |
#items ⇒ Array
11 |
# File 'lib/vk/api/video/cat_block.rb', line 11 attribute :items, API::Types::Coercible::Array.member(API::Video::CatElement) |
#name ⇒ String
15 |
# File 'lib/vk/api/video/cat_block.rb', line 15 attribute :name, API::Types::Coercible::String |
#next ⇒ String
13 |
# File 'lib/vk/api/video/cat_block.rb', line 13 attribute :next, API::Types::Coercible::String |
#type ⇒ String
23 |
# File 'lib/vk/api/video/cat_block.rb', line 23 attribute :type, API::Types::Coercible::String.enum("channel", "category").optional.default(nil) |
#view ⇒ String
19 |
# File 'lib/vk/api/video/cat_block.rb', line 19 attribute :view, API::Types::Coercible::String.enum("horizontal", "horizontal_compact", "vertical", "vertical_compact") |