Class: Vk::API::Groups::GroupCategoryFull
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Groups::GroupCategoryFull
- Defined in:
- lib/vk/api/groups/group_category_full.rb
Overview
Instance Method Summary collapse
-
#id ⇒ Integer
Category ID.
-
#name ⇒ String
Category name.
-
#page_count ⇒ Integer
Pages number.
- #page_previews ⇒ Array
- #subcategories ⇒ Array
Instance Method Details
#id ⇒ Integer
Returns Category ID.
11 |
# File 'lib/vk/api/groups/group_category_full.rb', line 11 attribute :id, API::Types::Coercible::Int |
#name ⇒ String
Returns Category name.
13 |
# File 'lib/vk/api/groups/group_category_full.rb', line 13 attribute :name, API::Types::Coercible::String |
#page_count ⇒ Integer
Returns Pages number.
17 |
# File 'lib/vk/api/groups/group_category_full.rb', line 17 attribute :page_count, API::Types::Coercible::Int |
#page_previews ⇒ Array
19 |
# File 'lib/vk/api/groups/group_category_full.rb', line 19 attribute :page_previews, API::Types::Coercible::Array.member(API::Groups::Group) |
#subcategories ⇒ Array
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) |