| // Code generated by cdpgen. DO NOT EDIT. |
| |
| package backgroundservice |
| |
| // StartObservingArgs represents the arguments for StartObserving in the BackgroundService domain. |
| type StartObservingArgs struct { |
| Service ServiceName `json:"service"` // No description. |
| } |
| |
| // NewStartObservingArgs initializes StartObservingArgs with the required arguments. |
| func NewStartObservingArgs(service ServiceName) *StartObservingArgs { |
| args := new(StartObservingArgs) |
| args.Service = service |
| return args |
| } |
| |
| // StopObservingArgs represents the arguments for StopObserving in the BackgroundService domain. |
| type StopObservingArgs struct { |
| Service ServiceName `json:"service"` // No description. |
| } |
| |
| // NewStopObservingArgs initializes StopObservingArgs with the required arguments. |
| func NewStopObservingArgs(service ServiceName) *StopObservingArgs { |
| args := new(StopObservingArgs) |
| args.Service = service |
| return args |
| } |
| |
| // SetRecordingArgs represents the arguments for SetRecording in the BackgroundService domain. |
| type SetRecordingArgs struct { |
| ShouldRecord bool `json:"shouldRecord"` // No description. |
| Service ServiceName `json:"service"` // No description. |
| } |
| |
| // NewSetRecordingArgs initializes SetRecordingArgs with the required arguments. |
| func NewSetRecordingArgs(shouldRecord bool, service ServiceName) *SetRecordingArgs { |
| args := new(SetRecordingArgs) |
| args.ShouldRecord = shouldRecord |
| args.Service = service |
| return args |
| } |
| |
| // ClearEventsArgs represents the arguments for ClearEvents in the BackgroundService domain. |
| type ClearEventsArgs struct { |
| Service ServiceName `json:"service"` // No description. |
| } |
| |
| // NewClearEventsArgs initializes ClearEventsArgs with the required arguments. |
| func NewClearEventsArgs(service ServiceName) *ClearEventsArgs { |
| args := new(ClearEventsArgs) |
| args.Service = service |
| return args |
| } |