Sha256: bf3f960c8361024ae32b8519f4fbf1d45ab5b118afea893b6f613c6657d3ab8b

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

# frozen_string_literal: true
require 'vk/api/objects'
require 'vk/schema/namespace'

module Vk
  module API
    class Fave < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class FavesLink < Vk::Schema::Object
        # @return [Integer] Link ID
        attribute :id, API::Types::Coercible::Int.optional
        # @return [String] Link URL
        attribute :url, API::Types::Coercible::String.optional
        # @return [String] Link title
        attribute :title, API::Types::Coercible::String.optional
        # @return [String] Link description
        attribute :description, API::Types::Coercible::String.optional
        # @return [String] URL of the preview image with 50 px in width
        attribute :photo_50, API::Types::Coercible::String.optional
        # @return [String] URL of the preview image with 100 px in width
        attribute :photo_100, API::Types::Coercible::String.optional
        # @return [String] URL of the preview image with 200 px in width
        attribute :photo_200, API::Types::Coercible::String.optional
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vk-0.99.5.53.alpha lib/vk/api/fave/faves_link.rb