Sha256: 2b205ff62c780dfd382171c271d1ec25e4d3006c00eeaed01afa05a6d7b6aef6

Contents?: true

Size: 1.65 KB

Versions: 1

Compression:

Stored size: 1.65 KB

Contents

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

module Vk
  module API
    class Places < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class Checkin < Vk::Schema::Object
        # @return [Integer] Checkin ID
        attribute :id, API::Types::Coercible::Int
        # @return [Integer] User ID
        attribute :user_id, API::Types::Coercible::Int
        # @return [Integer] Date when the checkin has been added in Unixtime
        attribute :date, API::Types::Coercible::Int
        # @return [Number] Place latitude
        attribute :latitude, API::Types::Coercible::Int.optional
        # @return [Number] Place longitude
        attribute :longitude, API::Types::Coercible::Int.optional
        # @return [Integer] Place ID
        attribute :place_id, API::Types::Coercible::Int.optional
        # @return [String] Comment text
        attribute :text, API::Types::Coercible::String.optional
        # @return [Integer] Distance to the place
        attribute :distance, API::Types::Coercible::Int.optional
        # @return [String] Place title
        attribute :place_title, API::Types::Coercible::String.optional
        # @return [Integer] Country ID
        attribute :place_country, API::Types::Coercible::Int.optional
        # @return [Integer] City ID
        attribute :place_city, API::Types::Coercible::Int.optional
        # @return [String] Place type
        attribute :place_type, API::Types::Coercible::String.optional
        # @return [String] URL of the place's icon
        attribute :place_icon, 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/places/checkin.rb