# 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 Safety
        module Dmca
          class DMCAService < Twirp::Service
            package 'code.justin.tv.safety.dmca'
            service 'DMCA'
            rpc :AddUser, AddUserRequest, AddUserResponse, :ruby_method => :add_user
            rpc :RemoveUser, RemoveUserRequest, RemoveUserResponse, :ruby_method => :remove_user
            rpc :TakedownContent, TakedownContentRequest, TakedownContentResponse, :ruby_method => :takedown_content
            rpc :CounterNotice, CounterNoticeRequest, CounterNoticeResponse, :ruby_method => :counter_notice
            rpc :StruckContent, StruckContentRequest, StruckContentResponse, :ruby_method => :struck_content
            rpc :StruckBy, StruckByRequest, StruckByResponse, :ruby_method => :struck_by
            rpc :IsUserAuthorized, IsUserAuthorizedRequest, IsUserAuthorizedResponse, :ruby_method => :is_user_authorized
            rpc :GetUser, GetUserRequest, GetUserResponse, :ruby_method => :get_user
          end

          class DMCAClient < Twirp::Client
            client_for DMCAService
          end
        end
      end
    end
  end
end
