Class: Vk::API::Wall::WallpostAttached

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

Overview

Instance Method Summary collapse

Instance Method Details

#attachmentsArray


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

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

#can_deleteInteger

Returns Information whether current user can delete the post.

Returns:

  • (Integer)

    Information whether current user can delete the post


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

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

#commentsAPI::Base::CommentsInfo


33
# File 'lib/vk/api/wall/wallpost_attached.rb', line 33

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

#copy_owner_idInteger

Returns Source post owner's ID.

Returns:

  • (Integer)

    Source post owner's ID


39
# File 'lib/vk/api/wall/wallpost_attached.rb', line 39

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

#copy_post_idInteger

Returns Source post ID.

Returns:

  • (Integer)

    Source post ID


41
# File 'lib/vk/api/wall/wallpost_attached.rb', line 41

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

#copy_textString

Returns Repost comment.

Returns:

  • (String)

    Repost comment


43
# File 'lib/vk/api/wall/wallpost_attached.rb', line 43

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

#dateInteger

Returns Date of publishing in Unixtime.

Returns:

  • (Integer)

    Date of publishing in Unixtime


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

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

#from_idInteger

Returns Post author ID.

Returns:

  • (Integer)

    Post author ID


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

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

#geoAPI::Base::Geo


29
# File 'lib/vk/api/wall/wallpost_attached.rb', line 29

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

#idInteger

Returns Post ID.

Returns:

  • (Integer)

    Post ID


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

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

#likesAPI::Base::LikesInfo


35
# File 'lib/vk/api/wall/wallpost_attached.rb', line 35

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

#post_sourceAPI::Wall::PostSource


31
# File 'lib/vk/api/wall/wallpost_attached.rb', line 31

attribute :post_source, Dry::Types[API::Wall::PostSource].optional.default(nil)

#post_typeAPI::Wall::PostType


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

attribute :post_type, API::Wall::PostType.optional.default(nil)

#repostsAPI::Base::RepostsInfo


37
# File 'lib/vk/api/wall/wallpost_attached.rb', line 37

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

#signer_idInteger

Returns Post signer ID.

Returns:

  • (Integer)

    Post signer ID


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

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

#textString

Returns Post text.

Returns:

  • (String)

    Post text


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

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

#to_idInteger

Returns Post addresse.

Returns:

  • (Integer)

    Post addresse


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

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