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_hideAPI::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

#idInteger

Returns Block ID.

Returns:

  • (Integer)

    Block ID


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

attribute :id, API::Types::Coercible::Int

#itemsArray


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

attribute :items, API::Types::Coercible::Array.member(API::Video::CatElement)

#nameString

Returns Block name.

Returns:

  • (String)

    Block name


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

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

#nextString

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

#typeString

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)

#viewString

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")