Class: Vk::API::Photos::PhotoFull
- Inherits:
-
Schema::Object
- Object
- Dry::Struct
- Schema::Object
- Vk::API::Photos::PhotoFull
- Defined in:
- lib/vk/api/photos/photo_full.rb
Overview
Instance Method Summary collapse
-
#access_key ⇒ String
Access key for the photo.
-
#album_id ⇒ Integer
Album ID.
-
#can_comment ⇒ API::Base::BoolInt
Information whether current user can comment the photo.
- #comments ⇒ Object
-
#date ⇒ Integer
Date when uploaded.
-
#height ⇒ Integer
Original photo height.
-
#id ⇒ Integer
Photo ID.
-
#lat ⇒ Number
Latitude.
- #likes ⇒ API::Base::Likes
-
#long ⇒ Number
Longitude.
-
#owner_id ⇒ Integer
Photo owner's ID.
-
#photo_1280 ⇒ String
URL of image with 1280 px width.
-
#photo_130 ⇒ String
URL of image with 130 px width.
-
#photo_604 ⇒ String
URL of image with 604 px width.
-
#photo_75 ⇒ String
URL of image with 75 px width.
-
#photo_807 ⇒ String
URL of image with 807 px width.
-
#post_id ⇒ Integer
Post ID.
- #reposts ⇒ Object
- #sizes ⇒ Array
- #tags ⇒ Object
-
#text ⇒ String
Photo caption.
-
#user_id ⇒ Integer
ID of the user who have uploaded the photo.
-
#width ⇒ Integer
Original photo width.
Instance Method Details
#access_key ⇒ String
Returns Access key for the photo.
45 |
# File 'lib/vk/api/photos/photo_full.rb', line 45 attribute :access_key, API::Types::Coercible::String.optional.default(nil) |
#album_id ⇒ Integer
Returns Album ID.
13 |
# File 'lib/vk/api/photos/photo_full.rb', line 13 attribute :album_id, API::Types::Coercible::Int |
#can_comment ⇒ API::Base::BoolInt
Returns Information whether current user can comment the photo.
53 |
# File 'lib/vk/api/photos/photo_full.rb', line 53 attribute :can_comment, API::Base::BoolInt.optional.default(nil) |
#comments ⇒ Object
51 |
# File 'lib/vk/api/photos/photo_full.rb', line 51 attribute :comments, API::Types::Coercible::Hash.optional.default(nil) |
#date ⇒ Integer
Returns Date when uploaded.
39 |
# File 'lib/vk/api/photos/photo_full.rb', line 39 attribute :date, API::Types::Coercible::Int |
#height ⇒ Integer
Returns Original photo height.
35 |
# File 'lib/vk/api/photos/photo_full.rb', line 35 attribute :height, API::Types::Coercible::Int.optional.default(nil) |
#id ⇒ Integer
Returns Photo ID.
11 |
# File 'lib/vk/api/photos/photo_full.rb', line 11 attribute :id, API::Types::Coercible::Int |
#lat ⇒ Number
Returns Latitude.
41 |
# File 'lib/vk/api/photos/photo_full.rb', line 41 attribute :lat, API::Types::Coercible::Int.optional.default(nil) |
#likes ⇒ API::Base::Likes
47 |
# File 'lib/vk/api/photos/photo_full.rb', line 47 attribute :likes, Dry::Types[API::Base::Likes].optional.default(nil) |
#long ⇒ Number
Returns Longitude.
43 |
# File 'lib/vk/api/photos/photo_full.rb', line 43 attribute :long, API::Types::Coercible::Int.optional.default(nil) |
#owner_id ⇒ Integer
Returns Photo owner's ID.
15 |
# File 'lib/vk/api/photos/photo_full.rb', line 15 attribute :owner_id, API::Types::Coercible::Int |
#photo_1280 ⇒ String
Returns URL of image with 1280 px width.
29 |
# File 'lib/vk/api/photos/photo_full.rb', line 29 attribute :photo_1280, API::Types::Coercible::String.optional.default(nil) |
#photo_130 ⇒ String
Returns URL of image with 130 px width.
23 |
# File 'lib/vk/api/photos/photo_full.rb', line 23 attribute :photo_130, API::Types::Coercible::String.optional.default(nil) |
#photo_604 ⇒ String
Returns URL of image with 604 px width.
25 |
# File 'lib/vk/api/photos/photo_full.rb', line 25 attribute :photo_604, API::Types::Coercible::String.optional.default(nil) |
#photo_75 ⇒ String
Returns URL of image with 75 px width.
21 |
# File 'lib/vk/api/photos/photo_full.rb', line 21 attribute :photo_75, API::Types::Coercible::String.optional.default(nil) |
#photo_807 ⇒ String
Returns URL of image with 807 px width.
27 |
# File 'lib/vk/api/photos/photo_full.rb', line 27 attribute :photo_807, API::Types::Coercible::String.optional.default(nil) |
#post_id ⇒ Integer
Returns Post ID.
31 |
# File 'lib/vk/api/photos/photo_full.rb', line 31 attribute :post_id, API::Types::Coercible::Int.optional.default(nil) |
#reposts ⇒ Object
49 |
# File 'lib/vk/api/photos/photo_full.rb', line 49 attribute :reposts, API::Types::Coercible::Hash.optional.default(nil) |
#sizes ⇒ Array
19 |
# File 'lib/vk/api/photos/photo_full.rb', line 19 attribute :sizes, API::Types::Coercible::Array.member(API::Photos::PhotoSizes).optional.default(nil) |
#tags ⇒ Object
55 |
# File 'lib/vk/api/photos/photo_full.rb', line 55 attribute :tags, API::Types::Coercible::Hash.optional.default(nil) |
#text ⇒ String
Returns Photo caption.
37 |
# File 'lib/vk/api/photos/photo_full.rb', line 37 attribute :text, API::Types::Coercible::String.optional.default(nil) |