Class: Vk::API::Notes::Note

Inherits:
Schema::Object show all
Defined in:
lib/vk/api/notes/note.rb

Overview

Instance Method Summary collapse

Instance Method Details

#can_commentAPI::Base::BoolInt

Returns Information whether current user can comment the note.

Returns:



17
# File 'lib/vk/api/notes/note.rb', line 17

attribute :can_comment, API::Base::BoolInt.optional.default(nil)

#commentsInteger

Returns Comments number.

Returns:

  • (Integer)

    Comments number



15
# File 'lib/vk/api/notes/note.rb', line 15

attribute :comments, API::Types::Coercible::Int

#dateInteger

Returns Date when the note has been created in Unixtime.

Returns:

  • (Integer)

    Date when the note has been created in Unixtime



19
# File 'lib/vk/api/notes/note.rb', line 19

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

#idInteger

Returns Note ID.

Returns:

  • (Integer)

    Note ID



11
# File 'lib/vk/api/notes/note.rb', line 11

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

#owner_idInteger

Returns Note owner's ID.

Returns:

  • (Integer)

    Note owner's ID



13
# File 'lib/vk/api/notes/note.rb', line 13

attribute :owner_id, API::Types::Coercible::Int

#textString

Returns Note text.

Returns:

  • (String)

    Note text



23
# File 'lib/vk/api/notes/note.rb', line 23

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

#text_wikiString

Returns Note text in wiki format.

Returns:

  • (String)

    Note text in wiki format



25
# File 'lib/vk/api/notes/note.rb', line 25

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

#titleString

Returns Note title.

Returns:

  • (String)

    Note title



21
# File 'lib/vk/api/notes/note.rb', line 21

attribute :title, API::Types::Coercible::String

#view_urlString

Returns URL of the page with note preview.

Returns:

  • (String)

    URL of the page with note preview



27
# File 'lib/vk/api/notes/note.rb', line 27

attribute :view_url, API::Types::Coercible::String