|
| 1 | +// Code generated; DO NOT EDIT. |
| 2 | + |
| 3 | +package telephonyobs |
| 4 | + |
| 5 | +import ( |
| 6 | + "time" |
| 7 | +) |
| 8 | + |
| 9 | +var ( |
| 10 | + _ Reporter = (*noopReporter)(nil) |
| 11 | + _ ProjectReporter = (*noopProjectReporter)(nil) |
| 12 | + _ CarrierReporter = (*noopCarrierReporter)(nil) |
| 13 | + _ CountryReporter = (*noopCountryReporter)(nil) |
| 14 | + _ CallReporter = (*noopCallReporter)(nil) |
| 15 | +) |
| 16 | + |
| 17 | +type noopKeyResolver struct{} |
| 18 | + |
| 19 | +func (noopKeyResolver) Resolve(string) {} |
| 20 | +func (noopKeyResolver) Reset() {} |
| 21 | + |
| 22 | +type noopReporter struct{} |
| 23 | + |
| 24 | +func NewNoopReporter() Reporter { |
| 25 | + return &noopReporter{} |
| 26 | +} |
| 27 | + |
| 28 | +func (r *noopReporter) WithProject(id string) ProjectReporter { |
| 29 | + return &noopProjectReporter{} |
| 30 | +} |
| 31 | + |
| 32 | +func (r *noopReporter) WithDeferredProject() (ProjectReporter, KeyResolver) { |
| 33 | + return &noopProjectReporter{}, noopKeyResolver{} |
| 34 | +} |
| 35 | + |
| 36 | +type noopProjectReporter struct{} |
| 37 | + |
| 38 | +func NewNoopProjectReporter() ProjectReporter { |
| 39 | + return &noopProjectReporter{} |
| 40 | +} |
| 41 | + |
| 42 | +func (r *noopProjectReporter) RegisterFunc(f func(ts time.Time, tx ProjectTx) bool) {} |
| 43 | +func (r *noopProjectReporter) Tx(f func(ProjectTx)) {} |
| 44 | +func (r *noopProjectReporter) TxAt(ts time.Time, f func(ProjectTx)) {} |
| 45 | +func (r *noopProjectReporter) WithCarrier(id string) CarrierReporter { |
| 46 | + return &noopCarrierReporter{} |
| 47 | +} |
| 48 | +func (r *noopProjectReporter) WithDeferredCarrier() (CarrierReporter, KeyResolver) { |
| 49 | + return &noopCarrierReporter{}, noopKeyResolver{} |
| 50 | +} |
| 51 | + |
| 52 | +type noopCarrierReporter struct{} |
| 53 | + |
| 54 | +func NewNoopCarrierReporter() CarrierReporter { |
| 55 | + return &noopCarrierReporter{} |
| 56 | +} |
| 57 | + |
| 58 | +func (r *noopCarrierReporter) RegisterFunc(f func(ts time.Time, tx CarrierTx) bool) {} |
| 59 | +func (r *noopCarrierReporter) Tx(f func(CarrierTx)) {} |
| 60 | +func (r *noopCarrierReporter) TxAt(ts time.Time, f func(CarrierTx)) {} |
| 61 | +func (r *noopCarrierReporter) WithCountry(callCountryCode string) CountryReporter { |
| 62 | + return &noopCountryReporter{} |
| 63 | +} |
| 64 | +func (r *noopCarrierReporter) WithDeferredCountry() (CountryReporter, KeyResolver) { |
| 65 | + return &noopCountryReporter{}, noopKeyResolver{} |
| 66 | +} |
| 67 | + |
| 68 | +type noopCountryReporter struct{} |
| 69 | + |
| 70 | +func NewNoopCountryReporter() CountryReporter { |
| 71 | + return &noopCountryReporter{} |
| 72 | +} |
| 73 | + |
| 74 | +func (r *noopCountryReporter) RegisterFunc(f func(ts time.Time, tx CountryTx) bool) {} |
| 75 | +func (r *noopCountryReporter) Tx(f func(CountryTx)) {} |
| 76 | +func (r *noopCountryReporter) TxAt(ts time.Time, f func(CountryTx)) {} |
| 77 | +func (r *noopCountryReporter) WithCall(id string) CallReporter { |
| 78 | + return &noopCallReporter{} |
| 79 | +} |
| 80 | +func (r *noopCountryReporter) WithDeferredCall() (CallReporter, KeyResolver) { |
| 81 | + return &noopCallReporter{}, noopKeyResolver{} |
| 82 | +} |
| 83 | + |
| 84 | +type noopCallReporter struct{} |
| 85 | + |
| 86 | +func NewNoopCallReporter() CallReporter { |
| 87 | + return &noopCallReporter{} |
| 88 | +} |
| 89 | + |
| 90 | +func (r *noopCallReporter) RegisterFunc(f func(ts time.Time, tx CallTx) bool) {} |
| 91 | +func (r *noopCallReporter) Tx(f func(CallTx)) {} |
| 92 | +func (r *noopCallReporter) TxAt(ts time.Time, f func(CallTx)) {} |
| 93 | +func (r *noopCallReporter) ReportDirection(v DirectionType) {} |
| 94 | +func (r *noopCallReporter) ReportNumberType(v NumberType) {} |
| 95 | +func (r *noopCallReporter) ReportStatus(v CallStatus) {} |
| 96 | +func (r *noopCallReporter) ReportTrunkType(v TrunkType) {} |
| 97 | +func (r *noopCallReporter) ReportCountryCode(v string) {} |
| 98 | +func (r *noopCallReporter) ReportPhoneNumber(v string) {} |
| 99 | +func (r *noopCallReporter) ReportDuration(v uint32) {} |
| 100 | +func (r *noopCallReporter) ReportDurationMinutes(v uint16) {} |
| 101 | +func (r *noopCallReporter) ReportStartTime(v time.Time) {} |
| 102 | +func (r *noopCallReporter) ReportEndTime(v time.Time) {} |
0 commit comments