Sha256: ee44724bcd7e867d76e75e6434fdafee26eaf102fff45f1aee5ef0735e6ea830

Contents?: true

Size: 1.35 KB

Versions: 1

Compression:

Stored size: 1.35 KB

Contents

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

module Vk
  module API
    class Pages < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class Wikipage < Vk::Schema::Object
        # @return [Integer] Page ID
        attribute :id, API::Types::Coercible::Int
        # @return [Integer] Community ID
        attribute :group_id, API::Types::Coercible::Int
        # @return [String] Page title
        attribute :title, API::Types::Coercible::String
        # @return [API::Pages::PrivacySettings] View settings of the page
        attribute :who_can_view, API::Pages::PrivacySettings
        # @return [API::Pages::PrivacySettings] Edit settings of the page
        attribute :who_can_edit, API::Pages::PrivacySettings
        # @return [Integer] Views number
        attribute :views, API::Types::Coercible::Int
        # @return [Integer] Last editor ID
        attribute :editor_id, API::Types::Coercible::Int.optional
        # @return [String] Last editor name
        attribute :editor_name, API::Types::Coercible::String.optional
        # @return [Integer] Page creator ID
        attribute :creator_id, API::Types::Coercible::Int.optional
        # @return [Integer] Page creator name
        attribute :creator_name, 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/pages/wikipage.rb