Class: Vk::API::Stats::Period

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

Overview

Instance Method Summary collapse

Instance Method Details

#ageArray


27
# File 'lib/vk/api/stats/period.rb', line 27

attribute :age, API::Types::Coercible::Array.member(API::Types::Coercible::Hash).optional.default(nil)

#citiesArray


31
# File 'lib/vk/api/stats/period.rb', line 31

attribute :cities, API::Types::Coercible::Array.member(API::Types::Coercible::Hash).optional.default(nil)

#countriesArray


33
# File 'lib/vk/api/stats/period.rb', line 33

attribute :countries, API::Types::Coercible::Array.member(API::Types::Coercible::Hash).optional.default(nil)

#dayString

Returns Day (YYYY-MM-DD).

Returns:

  • (String)

    Day (YYYY-MM-DD)


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

attribute :day, API::Types::Coercible::String.optional.default(nil)

#reachInteger

Returns Total reach.

Returns:

  • (Integer)

    Total reach


17
# File 'lib/vk/api/stats/period.rb', line 17

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

#reach_subscribersInteger

Returns Subscribers reach.

Returns:

  • (Integer)

    Subscribers reach


19
# File 'lib/vk/api/stats/period.rb', line 19

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

#sexArray


25
# File 'lib/vk/api/stats/period.rb', line 25

attribute :sex, API::Types::Coercible::Array.member(API::Types::Coercible::Hash).optional.default(nil)

#sex_ageArray


29
# File 'lib/vk/api/stats/period.rb', line 29

attribute :sex_age, API::Types::Coercible::Array.member(API::Types::Coercible::Hash).optional.default(nil)

#subscribedInteger

Returns Number of users subscribed.

Returns:

  • (Integer)

    Number of users subscribed


21
# File 'lib/vk/api/stats/period.rb', line 21

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

#unsubscribedInteger

Returns Number of users unsubscribed.

Returns:

  • (Integer)

    Number of users unsubscribed


23
# File 'lib/vk/api/stats/period.rb', line 23

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

#viewsInteger

Returns Views number.

Returns:

  • (Integer)

    Views number


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

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

#visitorsInteger

Returns Visitors number.

Returns:

  • (Integer)

    Visitors number


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

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