Sha256: 5d6f97cbfa01649dd221ab040e47c14752ff0590fede9c94eaa10c3f75b1def1

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

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

module Vk
  module API
    class Base < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class Place < Vk::Schema::Object
        # @return [Integer] Place ID
        attribute :id, API::Types::Coercible::Int.optional
        # @return [String] Place title
        attribute :title, API::Types::Coercible::String.optional
        # @return [Number] Place latitude
        attribute :latitude, API::Types::Coercible::Int.optional
        # @return [Number] Place longitude
        attribute :longitude, API::Types::Coercible::Int.optional
        # @return [Integer] Date of the place creation in Unixtime
        attribute :created, API::Types::Coercible::Int.optional
        # @return [String] URL of the place's icon
        attribute :icon, API::Types::Coercible::String.optional
        # @return [Integer] Checkins number
        attribute :checkins, API::Types::Coercible::Int.optional
        # @return [String] Place type
        attribute :type, API::Types::Coercible::String.optional
        # @return [Integer] Country ID
        attribute :country, API::Types::Coercible::Int.optional
        # @return [Integer] City ID
        attribute :city, API::Types::Coercible::Int.optional
        # @return [String] Place address
        attribute :address, 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/base/place.rb