# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: deviceapis/device/v1/deviceapis_device_ntp_v1.proto for package 'Deviceapis.Device.V1'
# Original file comments:
#
# Сервис управления настройками Ntp-сервера

require 'grpc'
require 'deviceapis/device/v1/deviceapis_device_ntp_v1_pb'

module Deviceapis
  module Device
    module V1
      module NtpService
        # Сервис управления настройками Ntp-сервера
        class Service

          include ::GRPC::GenericService

          self.marshal_class_method = :encode
          self.unmarshal_class_method = :decode
          self.service_name = 'deviceapis.device.v1.NtpService'

          # Метод редактирования настроек NTP
          rpc :EditNtp, ::Deviceapis::Device::V1::EditNtpRequest, ::Deviceapis::Device::V1::EditNtpResponse
          # Метод получения настроек NTP
          rpc :GetNtp, ::Deviceapis::Device::V1::GetNtpRequest, ::Deviceapis::Device::V1::GetNtpResponse
        end

        Stub = Service.rpc_stub_class
      end
    end
  end
end
