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

module Subs
  class ChronobreakService < Twirp::Service
    package 'subs'
    service 'Chronobreak'
    rpc :PreviewTenure, PreviewTenureRequest, PreviewTenureResponse, :ruby_method => :preview_tenure
    rpc :ReadTenure, ReadTenureRequest, ReadTenureResponse, :ruby_method => :read_tenure
    rpc :ReadTenures, ReadTenuresRequest, ReadTenuresResponse, :ruby_method => :read_tenures
    rpc :UpsertGrant, UpsertGrantRequest, UpsertGrantResponse, :ruby_method => :upsert_grant
    rpc :ReadGrants, ReadGrantsRequest, ReadGrantsResponse, :ruby_method => :read_grants
    rpc :DeleteOverrideGrant, DeleteOverrideGrantRequest, DeleteOverrideGrantResponse, :ruby_method => :delete_override_grant
  end

  class ChronobreakClient < Twirp::Client
    client_for ChronobreakService
  end
end
