Sha256: 8db55d43af37dcab5564e9e4ff9f676865219627f35b8a96125bc2c4f3981134

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

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

module Vk
  module API
    class Account < Vk::Schema::Namespace
      module Methods
        # Change push settings.
        class SetPushSettings < Schema::Method
          # @!group Properties

          self.open = false
          self.method = 'account.setPushSettings'

          # @method initialize(arguments)
          #   @param [Hash] arguments
          #   @option arguments [String] :device_id Unique device ID.
          #   @option arguments [String] :settings Push settings in a .
          #   @option arguments [String] :key Notification key.
          #   @option arguments [Array] :value New value for the key in a .
          #   @return [Account::Methods::SetPushSettings]

          # @!group Arguments

          # @return [String] Unique device ID.
          attribute :device_id, API::Types::Coercible::String.optional
          # @return [String] Push settings in a .
          attribute :settings, API::Types::Coercible::String.optional
          # @return [String] Notification key.
          attribute :key, API::Types::Coercible::String.optional
          # @return [Array] New value for the key in a .
          attribute :value, 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/account/methods/set_push_settings.rb