Sha256: ccba40ae5235fc457ae04b0a47bc07e26751fadcd7b7ba7690f3a653a940ab7f

Contents?: true

Size: 1.51 KB

Versions: 1

Compression:

Stored size: 1.51 KB

Contents

# frozen_string_literal: true
require 'vk/api/methods'

module Vk
  module API
    class Video < Vk::Schema::Namespace
      module Methods
        # Returns video catalog
        class GetCatalog < Schema::Method
          # @!group Properties

          self.open = true
          self.method = 'video.getCatalog'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :count number of catalog blocks to return.
          #   @option arguments [Integer] :items_count number of videos in each block.
          #   @option arguments [String] :from parameter for requesting the next results page. Value for transmitting here is returned in the 'next' field in a reply.
          #   @option arguments [Array] :filters list of requested catalog sections
          #   @return [Video::Methods::GetCatalog]

          # @!group Arguments

          # @return [Integer] number of catalog blocks to return.
          attribute :count, API::Types::Coercible::Int.optional
          # @return [Integer] number of videos in each block.
          attribute :items_count, API::Types::Coercible::Int.optional
          # @return [String] parameter for requesting the next results page. Value for transmitting here is returned in the 'next' field in a reply.
          attribute :from, API::Types::Coercible::String.optional
          # @return [Array] list of requested catalog sections
          attribute :filters, API::Types::Coercible::Array.optional
        end
      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/video/methods/get_catalog.rb