Class: Vk::API::Photos::CommentXtrPid

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

Overview

Instance Method Summary collapse

Instance Method Details

#attachmentsArray



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

attribute :attachments, API::Types::Coercible::Array.member(API::Wall::CommentAttachment).optional.default(nil)

#dateInteger

Returns Date when the comment has been added in Unixtime.

Returns:

  • (Integer)

    Date when the comment has been added in Unixtime



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

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

#from_idInteger

Returns Author ID.

Returns:

  • (Integer)

    Author ID



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

attribute :from_id, API::Types::Coercible::Int

#idInteger

Returns Comment ID.

Returns:

  • (Integer)

    Comment ID



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

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

#likesAPI::Base::LikesInfo



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

attribute :likes, Dry::Types[API::Base::LikesInfo].optional.default(nil)

#pidInteger

Returns Photo ID.

Returns:

  • (Integer)

    Photo ID



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

attribute :pid, API::Types::Coercible::Int

#reply_to_commentInteger

Returns Replied comment ID.

Returns:

  • (Integer)

    Replied comment ID



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

attribute :reply_to_comment, API::Types::Coercible::Int.optional.default(nil)

#reply_to_userInteger

Returns Replied user ID.

Returns:

  • (Integer)

    Replied user ID



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

attribute :reply_to_user, API::Types::Coercible::Int.optional.default(nil)

#textString

Returns Comment text.

Returns:

  • (String)

    Comment text



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

attribute :text, API::Types::Coercible::String