Sha256: aca36db23b14d28348512a6d186dd07163dc4e882f597d9d423af82cabe168cb

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

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

module Vk
  module API
    class Groups < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class MarketInfo < Vk::Schema::Object
        # @return [API::Base::BoolInt] Information whether the market is enabled
        attribute :enabled, API::Base::BoolInt.optional
        # @return [Integer] Minimum price
        attribute :price_min, API::Types::Coercible::Int.optional
        # @return [Integer] Maximum price
        attribute :price_max, API::Types::Coercible::Int.optional
        # @return [Integer] Main market album ID
        attribute :main_album_id, API::Types::Coercible::Int.optional
        # @return [Integer] Contact person ID
        attribute :contact_id, API::Types::Coercible::Int.optional
        # @return [API::Market::Currency] @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
        attribute :currency, Dry::Types[API::Market::Currency].optional
        # @return [String] Currency name
        attribute :currency_text, API::Types::Coercible::String.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/groups/market_info.rb