Sha256: 73561f7929550e130b72f703c42cef02a259833ab8f2095fdec81bd5e7b3cbd7

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 KB

Contents

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

module Vk
  module API
    class Users < Vk::Schema::Namespace
      # @see https://github.com/VKCOM/vk-api-schema/blob/master/objects.json
      class University < Vk::Schema::Object
        # @return [Integer] University ID
        attribute :id, API::Types::Coercible::Int.optional
        # @return [Integer] Country ID
        attribute :country, API::Types::Coercible::Int.optional
        # @return [Integer] City ID
        attribute :city, API::Types::Coercible::Int.optional
        # @return [String] University name
        attribute :name, API::Types::Coercible::String.optional
        # @return [Integer] Faculty ID
        attribute :faculty, API::Types::Coercible::Int.optional
        # @return [String] Faculty name
        attribute :faculty_name, API::Types::Coercible::String.optional
        # @return [Integer] Chair ID
        attribute :chair, API::Types::Coercible::Int.optional
        # @return [String] Chair name
        attribute :chair_name, API::Types::Coercible::String.optional
        # @return [Integer] Graduation year
        attribute :graduation, API::Types::Coercible::Int.optional
        # @return [String] Education form
        attribute :education_form, API::Types::Coercible::String.optional
        # @return [String] Education status
        attribute :education_status, 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/users/university.rb