Class: Vk::API::Groups::GroupCategoryFull

Inherits:
Schema::Object
  • Object
show all
Defined in:
lib/vk/api/groups/group_category_full.rb

Overview

Instance Method Summary collapse

Instance Method Details

#idInteger

Returns Category ID.

Returns:

  • (Integer)

    Category ID


11
# File 'lib/vk/api/groups/group_category_full.rb', line 11

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

#nameString

Returns Category name.

Returns:

  • (String)

    Category name


13
# File 'lib/vk/api/groups/group_category_full.rb', line 13

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

#page_countInteger

Returns Pages number.

Returns:

  • (Integer)

    Pages number


17
# File 'lib/vk/api/groups/group_category_full.rb', line 17

attribute :page_count, API::Types::Coercible::Int

#page_previewsArray


19
# File 'lib/vk/api/groups/group_category_full.rb', line 19

attribute :page_previews, API::Types::Coercible::Array.member(API::Groups::Group)

#subcategoriesArray


15
# File 'lib/vk/api/groups/group_category_full.rb', line 15

attribute :subcategories, API::Types::Coercible::Array.member(API::Groups::GroupCategory).optional.default(nil)