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

#commentsInteger

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)

#createdInteger

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_byInteger

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)

#idInteger

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_closedAPI::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_fixedAPI::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)

#titleString

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)

#updatedInteger

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_byInteger

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)