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

module Twitch
  module Fulton
    module Beefcake
      class TwitchBeefcakeService < Twirp::Service
        package 'twitch.fulton.beefcake'
        service 'TwitchBeefcake'
        rpc :GetRoles, GetRolesRequest, GetRolesResponse, :ruby_method => :get_roles
        rpc :CreateRole, CreateRoleRequest, CreateRoleResponse, :ruby_method => :create_role
        rpc :GetRole, GetRoleRequest, Role, :ruby_method => :get_role
        rpc :UpdateRole, UpdateRoleRequest, UpdateRoleResponse, :ruby_method => :update_role
        rpc :OverrideRole, OverrideRoleRequest, OverrideRoleResponse, :ruby_method => :override_role
        rpc :DeleteRole, DeleteRoleRequest, DeleteRoleResponse, :ruby_method => :delete_role
        rpc :AddRolePermission, AddRolePermissionRequest, AddRolePermissionResponse, :ruby_method => :add_role_permission
        rpc :RemoveRolePermission, RemoveRolePermissionRequest, RemoveRolePermissionResponse, :ruby_method => :remove_role_permission
        rpc :UpdateRolePermissionScope, UpdateRolePermissionScopeRequest, UpdateRolePermissionScopeResponse, :ruby_method => :update_role_permission_scope
        rpc :AddLegacyPermissionToRole, AddLegacyPermissionToRoleRequest, AddLegacyPermissionToRoleResponse, :ruby_method => :add_legacy_permission_to_role
        rpc :RemoveLegacyPermissionFromRole, RemoveLegacyPermissionFromRoleRequest, RemoveLegacyPermissionFromRoleResponse, :ruby_method => :remove_legacy_permission_from_role
        rpc :AddUserToRole, AddUserToRoleRequest, AddUserToRoleResponse, :ruby_method => :add_user_to_role
        rpc :RemoveUserFromRole, RemoveUserFromRoleRequest, RemoveUserFromRoleResponse, :ruby_method => :remove_user_from_role
        rpc :GetUser, GetUserRequest, User, :ruby_method => :get_user
        rpc :ReactivateUser, ReactivateUserRequest, ReactivateUserResponse, :ruby_method => :reactivate_user
        rpc :GetLegacyPermissions, GetLegacyPermissionsRequest, GetLegacyPermissionsResponse, :ruby_method => :get_legacy_permissions
        rpc :CreateLegacyPermission, CreateLegacyPermissionRequest, CreateLegacyPermissionResponse, :ruby_method => :create_legacy_permission
        rpc :GetLegacyPermission, GetLegacyPermissionRequest, LegacyPermission, :ruby_method => :get_legacy_permission
        rpc :UpdateLegacyPermission, UpdateLegacyPermissionRequest, UpdateLegacyPermissionResponse, :ruby_method => :update_legacy_permission
        rpc :DeleteLegacyPermission, DeleteLegacyPermissionRequest, DeleteLegacyPermissionResponse, :ruby_method => :delete_legacy_permission
      end

      class TwitchBeefcakeClient < Twirp::Client
        client_for TwitchBeefcakeService
      end
    end
  end
end
