Sha256: 9eef7688c43a870f0211951c15ffd96ad97c80496838d7da54f07fb13a215b34

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

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

module Vk
  module API
    class Ads < Vk::Schema::Namespace
      module Methods
        # Adds managers and/or supervisors to advertising account.
        class AddOfficeUsers < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'ads.addOfficeUsers'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [Integer] :account_id Advertising account ID.
          #   @option arguments [String] :data Serialized JSON array of objects that describe added managers. Description of 'user_specification' objects see below.
          #   @return [Ads::Methods::AddOfficeUsers]

          # @!group Arguments

          # @return [Integer] Advertising account ID.
          attribute :account_id, API::Types::Coercible::Int.optional
          # @return [String] Serialized JSON array of objects that describe added managers. Description of 'user_specification' objects see below.
          attribute :data, API::Types::Coercible::String.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/ads/methods/add_office_users.rb