Class: Vk::API::Video::CatBlock

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/video/cat_block.rb

Overview

Instance Method Summary collapse

Instance Method Details

#can_hide ⇒ API::Base::BoolInt

Returns Information whether the block can be hidden.

Returns:



21
# File 'lib/vk/api/video/cat_block.rb', line 21

attribute :can_hide, API::Base::BoolInt

#id ⇒ Integer

Returns Block ID.

Returns:

  • (Integer) —

    Block ID



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

Returns Block name.

Returns:

  • (String) —

    Block name



15
# File 'lib/vk/api/video/cat_block.rb', line 15

attribute :name, API::Types::Coercible::String

#next ⇒ String

Returns New value for from parameter.

Returns:

  • (String) —

    New value for from parameter



13
# File 'lib/vk/api/video/cat_block.rb', line 13

attribute :next, API::Types::Coercible::String

#type ⇒ String

Returns Block type.

Returns:

  • (String) —

    Block type



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

Returns Type of view.

Returns:

  • (String) —

    Type of view



19
# File 'lib/vk/api/video/cat_block.rb', line 19

attribute :view, API::Types::Coercible::String.enum("horizontal", "horizontal_compact", "vertical", "vertical_compact")