Class: Vk::API::Groups::SubjectItem

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

Overview

Instance Method Summary collapse

Instance Method Details

#idInteger

Returns Subject ID.

Returns:

  • (Integer)

    Subject ID


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

attribute :id, API::Types::Coercible::Int.optional.default(nil)

#nameString

Returns Subject title.

Returns:

  • (String)

    Subject title


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

attribute :name, API::Types::Coercible::String.optional.default(nil)