# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: keyapis/iot_connect_sber/v1/keyapis_iot_connect_unlink_v1.proto for package 'Keyapis.IotConnect.V1'
# Original file comments:
#
# Сервис реализует функционал взаимодействия с Умным домом Sber

require 'grpc'
require 'keyapis/iot_connect_sber/v1/keyapis_iot_connect_unlink_v1_pb'

module Keyapis
  module IotConnect
    module V1
      module UnlinkService
        # Сервис разъединения аккаунтов с Умным домом Sber
        class Service

          include ::GRPC::GenericService

          self.marshal_class_method = :encode
          self.unmarshal_class_method = :decode
          self.service_name = 'keyapis.iot_connect_sber.v1.UnlinkService'

          # Метод разъединения аккаунтов.
          # Идентификатор пользователя - это subject из токена.
          # Метод доступен для: TokenACF: Scope: sber_iot
          rpc :PostUnlink, ::Keyapis::IotConnect::V1::PostUnlinkRequest, ::Keyapis::IotConnect::V1::PostUnlinkResponse
        end

        Stub = Service.rpc_stub_class
      end
    end
  end
end
