<?php
// GENERATED CODE -- DO NOT EDIT!

// Original file comments:
//
// Сервис для работы с омничатом
namespace Keyapis\Omnichat\V1;

/**
 * Сервис проверки статуса
 */
class SystemServiceClient extends \Grpc\BaseStub {

    /**
     * @param string $hostname hostname
     * @param array $opts channel options
     * @param \Grpc\Channel $channel (optional) re-use channel object
     */
    public function __construct($hostname, $opts, $channel = null) {
        parent::__construct($hostname, $opts, $channel);
    }

    /**
     * Метод получения статуса сервиса.
     * Не требует авторизации
     * @param \Keyapis\Omnichat\V1\GetSystemStatusRequest $argument input argument
     * @param array $metadata metadata
     * @param array $options call options
     * @return \Grpc\UnaryCall
     */
    public function GetSystemStatus(\Keyapis\Omnichat\V1\GetSystemStatusRequest $argument,
      $metadata = [], $options = []) {
        return $this->_simpleRequest('/keyapis.omnichat.v1.SystemService/GetSystemStatus',
        $argument,
        ['\Keyapis\Omnichat\V1\GetSystemStatusResponse', 'decode'],
        $metadata, $options);
    }

}
