Class: Vk::API::Wall::WallpostFull

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/wall/wallpost_full.rb

Overview

Instance Method Summary collapse

Instance Method Details

#can_deleteInteger

Returns Information whether current user can delete the post.

Returns:

  • (Integer)

    Information whether current user can delete the post



17
# File 'lib/vk/api/wall/wallpost_full.rb', line 17

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

#can_editInteger

Returns Information whether current user can edit the post.

Returns:

  • (Integer)

    Information whether current user can edit the post



13
# File 'lib/vk/api/wall/wallpost_full.rb', line 13

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

#can_pinInteger

Returns Information whether current user can pin the post.

Returns:

  • (Integer)

    Information whether current user can pin the post



19
# File 'lib/vk/api/wall/wallpost_full.rb', line 19

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

#commentsAPI::Base::CommentsInfo



23
# File 'lib/vk/api/wall/wallpost_full.rb', line 23

attribute :comments, Dry::Types[API::Base::CommentsInfo].optional.default(nil)

#copy_historyArray



11
# File 'lib/vk/api/wall/wallpost_full.rb', line 11

attribute :copy_history, API::Types::Coercible::Array.member(API::Wall::Wallpost).optional.default(nil)

#created_byInteger

Returns Post creator ID (if post still can be edited).

Returns:

  • (Integer)

    Post creator ID (if post still can be edited)



15
# File 'lib/vk/api/wall/wallpost_full.rb', line 15

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

#is_pinnedInteger

Returns Information whether the post is pinned.

Returns:

  • (Integer)

    Information whether the post is pinned



21
# File 'lib/vk/api/wall/wallpost_full.rb', line 21

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

#likesAPI::Base::LikesInfo



25
# File 'lib/vk/api/wall/wallpost_full.rb', line 25

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

#repostsAPI::Base::RepostsInfo



27
# File 'lib/vk/api/wall/wallpost_full.rb', line 27

attribute :reposts, Dry::Types[API::Base::RepostsInfo].optional.default(nil)