Class: Vk::API::Photos::PhotoTag

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/photos/photo_tag.rb

Overview

Instance Method Summary collapse

Instance Method Details

#date ⇒ Integer

Returns Date when tag has been added in Unixtime.

Returns:

  • (Integer) —

    Date when tag has been added in Unixtime



19
# File 'lib/vk/api/photos/photo_tag.rb', line 19

attribute :date, API::Types::Coercible::Int

#id ⇒ Integer

Returns Tag ID.

Returns:

  • (Integer) —

    Tag ID



13
# File 'lib/vk/api/photos/photo_tag.rb', line 13

attribute :id, API::Types::Coercible::Int

#placer_id ⇒ Integer

Returns ID of the tag creator.

Returns:

  • (Integer) —

    ID of the tag creator



15
# File 'lib/vk/api/photos/photo_tag.rb', line 15

attribute :placer_id, API::Types::Coercible::Int

#tagged_name ⇒ String

Returns Tag description.

Returns:

  • (String) —

    Tag description



17
# File 'lib/vk/api/photos/photo_tag.rb', line 17

attribute :tagged_name, API::Types::Coercible::String

#user_id ⇒ Integer

Returns Tagged user ID.

Returns:

  • (Integer) —

    Tagged user ID



11
# File 'lib/vk/api/photos/photo_tag.rb', line 11

attribute :user_id, API::Types::Coercible::Int

#viewed ⇒ API::Base::BoolInt

Returns Information whether the tag is reviewed.

Returns:



29
# File 'lib/vk/api/photos/photo_tag.rb', line 29

attribute :viewed, API::Base::BoolInt

#x ⇒ Number

Returns Coordinate X of the left upper corner.

Returns:

  • (Number) —

    Coordinate X of the left upper corner



21
# File 'lib/vk/api/photos/photo_tag.rb', line 21

attribute :x, API::Types::Coercible::Int

#x2 ⇒ Number

Returns Coordinate X of the right lower corner.

Returns:

  • (Number) —

    Coordinate X of the right lower corner



25
# File 'lib/vk/api/photos/photo_tag.rb', line 25

attribute :x2, API::Types::Coercible::Int

#y ⇒ Number

Returns Coordinate Y of the left upper corner.

Returns:

  • (Number) —

    Coordinate Y of the left upper corner



23
# File 'lib/vk/api/photos/photo_tag.rb', line 23

attribute :y, API::Types::Coercible::Int

#y2 ⇒ Number

Returns Coordinate Y of the right lower corner.

Returns:

  • (Number) —

    Coordinate Y of the right lower corner



27
# File 'lib/vk/api/photos/photo_tag.rb', line 27

attribute :y2, API::Types::Coercible::Int