Sha256: 1ed5117d0fe393d0e0e39364e00224f233c76feddf23144f88213a7baae4bb1e

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

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

module Vk
  module API
    class Account < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class AccountCounters < Vk::Schema::Object
        # @return [Integer] New friends requests number
        attribute :friends, API::Types::Coercible::Int.optional
        # @return [Integer] New messages number
        attribute :messages, API::Types::Coercible::Int.optional
        # @return [Integer] New photo tags number
        attribute :photos, API::Types::Coercible::Int.optional
        # @return [Integer] New video tags number
        attribute :videos, API::Types::Coercible::Int.optional
        # @return [Integer] New gifts number
        attribute :gifts, API::Types::Coercible::Int.optional
        # @return [Integer] New events number
        attribute :events, API::Types::Coercible::Int.optional
        # @return [Integer] New groups number
        attribute :groups, API::Types::Coercible::Int.optional
        # @return [Integer] New notifications number
        attribute :notifications, API::Types::Coercible::Int.optional
        # @return [Integer] New app_requests number
        attribute :app_requests, 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/account/account_counters.rb