Class: Vk::API::Notifications::Feedback

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/notifications/feedback.rb

Overview

Instance Method Summary collapse

Instance Method Details

#attachmentsArray


21
# File 'lib/vk/api/notifications/feedback.rb', line 21

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

#from_idInteger

Returns Reply author's ID.

Returns:

  • (Integer)

    Reply author's ID


15
# File 'lib/vk/api/notifications/feedback.rb', line 15

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

#geoAPI::Base::Geo


23
# File 'lib/vk/api/notifications/feedback.rb', line 23

attribute :geo, Dry::Types[API::Base::Geo].optional.default(nil)

#idInteger

Returns Item ID.

Returns:

  • (Integer)

    Item ID


11
# File 'lib/vk/api/notifications/feedback.rb', line 11

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

#likesAPI::Base::LikesInfo


19
# File 'lib/vk/api/notifications/feedback.rb', line 19

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

#textString

Returns Reply text.

Returns:

  • (String)

    Reply text


17
# File 'lib/vk/api/notifications/feedback.rb', line 17

attribute :text, API::Types::Coercible::String.optional.default(nil)

#to_idInteger

Returns Wall owner's ID.

Returns:

  • (Integer)

    Wall owner's ID


13
# File 'lib/vk/api/notifications/feedback.rb', line 13

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