Class: Vk::API::Board::Topic

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/board/topic.rb

Overview

Instance Method Summary collapse

Instance Method Details

#comments ⇒ Integer

Returns Comments number.

Returns:

  • (Integer) —

    Comments number



27
# File 'lib/vk/api/board/topic.rb', line 27

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

#created ⇒ Integer

Returns Date when the topic has been created in Unixtime.

Returns:

  • (Integer) —

    Date when the topic has been created in Unixtime



15
# File 'lib/vk/api/board/topic.rb', line 15

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

#created_by ⇒ Integer

Returns Creator ID.

Returns:

  • (Integer) —

    Creator ID



17
# File 'lib/vk/api/board/topic.rb', line 17

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

#id ⇒ Integer

Returns Topic ID.

Returns:

  • (Integer) —

    Topic ID



11
# File 'lib/vk/api/board/topic.rb', line 11

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

#is_closed ⇒ API::Base::BoolInt

Returns Information whether the topic is closed.

Returns:



23
# File 'lib/vk/api/board/topic.rb', line 23

attribute :is_closed, API::Base::BoolInt.optional.default(nil)

#is_fixed ⇒ API::Base::BoolInt

Returns Information whether the topic is fixed.

Returns:



25
# File 'lib/vk/api/board/topic.rb', line 25

attribute :is_fixed, API::Base::BoolInt.optional.default(nil)

#title ⇒ String

Returns Topic title.

Returns:

  • (String) —

    Topic title



13
# File 'lib/vk/api/board/topic.rb', line 13

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

#updated ⇒ Integer

Returns Date when the topic has been updated in Unixtime.

Returns:

  • (Integer) —

    Date when the topic has been updated in Unixtime



19
# File 'lib/vk/api/board/topic.rb', line 19

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

#updated_by ⇒ Integer

Returns ID of user who updated the topic.

Returns:

  • (Integer) —

    ID of user who updated the topic



21
# File 'lib/vk/api/board/topic.rb', line 21

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