Class: Vk::API::Board::Topic
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Board::Topic
- Defined in:
- lib/vk/api/board/topic.rb
Overview
Instance Method Summary collapse
-
#comments ⇒ Integer
Comments number.
-
#created ⇒ Integer
Date when the topic has been created in Unixtime.
-
#created_by ⇒ Integer
Creator ID.
-
#id ⇒ Integer
Topic ID.
-
#is_closed ⇒ API::Base::BoolInt
Information whether the topic is closed.
-
#is_fixed ⇒ API::Base::BoolInt
Information whether the topic is fixed.
-
#title ⇒ String
Topic title.
-
#updated ⇒ Integer
Date when the topic has been updated in Unixtime.
-
#updated_by ⇒ Integer
ID of user who updated the topic.
Instance Method Details
#comments ⇒ Integer
Returns 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.
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.
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.
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.
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.
25 |
# File 'lib/vk/api/board/topic.rb', line 25 attribute :is_fixed, API::Base::BoolInt.optional.default(nil) |
#title ⇒ String
Returns Topic title.
13 |
# File 'lib/vk/api/board/topic.rb', line 13 attribute :title, API::Types::Coercible::String.optional.default(nil) |