# Code generated by protoc-gen-twirp_ruby 1.0.0, DO NOT EDIT.
require 'twirp'
require_relative 'service_pb.rb'

module Code
  module Justin
    module Tv
      module Commerce
        module Percy
          class PercyService < Twirp::Service
            package 'code.justin.tv.commerce.percy'
            service 'Percy'
            rpc :HealthCheck, HealthCheckReq, HealthCheckResp, :ruby_method => :health_check
            rpc :GetHypeTrainConfig, GetHypeTrainConfigReq, GetHypeTrainConfigResp, :ruby_method => :get_hype_train_config
            rpc :UpdateHypeTrainConfig, UpdateHypeTrainConfigReq, UpdateHypeTrainConfigResp, :ruby_method => :update_hype_train_config
            rpc :UnsetHypeTrainConfig, UnsetHypeTrainConfigReq, UnsetHypeTrainConfigResp, :ruby_method => :unset_hype_train_config
            rpc :GetOngoingHypeTrain, GetOngoingHypeTrainReq, GetOngoingHypeTrainResp, :ruby_method => :get_ongoing_hype_train
            rpc :UpsertHypeTrain, UpsertHypeTrainReq, UpsertHypeTrainResp, :ruby_method => :upsert_hype_train
            rpc :CanStartHypeTrain, CanStartHypeTrainReq, CanStartHypeTrainResp, :ruby_method => :can_start_hype_train
            rpc :GetHypeTrainBadges, GetHypeTrainBadgesReq, GetHypeTrainBadgesResp, :ruby_method => :get_hype_train_badges
            rpc :HelixGetMostRecentHypeTrain, HelixGetMostRecentHypeTrainReq, HelixGetMostRecentHypeTrainResp, :ruby_method => :helix_get_most_recent_hype_train
            rpc :AdminGrantHypeTrainRewards, AdminGrantHypeTrainRewardsReq, AdminGrantHypeTrainRewardsResp, :ruby_method => :admin_grant_hype_train_rewards
          end

          class PercyClient < Twirp::Client
            client_for PercyService
          end
        end
      end
    end
  end
end
