Sha256: fc026d4b1d025473cab2860ac06ef6bf85cdb9f33788654bc65b93b2e486b2b3

Contents?: true

Size: 1.36 KB

Versions: 1

Compression:

Stored size: 1.36 KB

Contents

# frozen_string_literal: true
require 'vk/api/objects'
require 'vk/schema/namespace'

module Vk
  module API
    class Board < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class Topic < Vk::Schema::Object
        # @return [Integer] Topic ID
        attribute :id, API::Types::Coercible::Int.optional
        # @return [String] Topic title
        attribute :title, API::Types::Coercible::String.optional
        # @return [Integer] Date when the topic has been created in Unixtime
        attribute :created, API::Types::Coercible::Int.optional
        # @return [Integer] Creator ID
        attribute :created_by, API::Types::Coercible::Int.optional
        # @return [Integer] Date when the topic has been updated in Unixtime
        attribute :updated, API::Types::Coercible::Int.optional
        # @return [Integer] ID of user who updated the topic
        attribute :updated_by, API::Types::Coercible::Int.optional
        # @return [API::Base::BoolInt] Information whether the topic is closed
        attribute :is_closed, API::Base::BoolInt.optional
        # @return [API::Base::BoolInt] Information whether the topic is fixed
        attribute :is_fixed, API::Base::BoolInt.optional
        # @return [Integer] Comments number
        attribute :comments, API::Types::Coercible::Int.optional
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/board/topic.rb