Class: Vk::API::Ads::Stats

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/ads/stats.rb

Overview

Instance Method Summary collapse

Instance Method Details

#idInteger

Returns Object ID.

Returns:

  • (Integer)

    Object ID


11
# File 'lib/vk/api/ads/stats.rb', line 11

attribute :id, API::Types::Coercible::Int.optional.default(nil)

#statsAPI::Ads::StatsFormat


15
# File 'lib/vk/api/ads/stats.rb', line 15

attribute :stats, Dry::Types[API::Ads::StatsFormat].optional.default(nil)

#typeAPI::Ads::ObjectType


13
# File 'lib/vk/api/ads/stats.rb', line 13

attribute :type, API::Ads::ObjectType.optional.default(nil)