Sub2ApiAdminUpdateChannelMonitorRequest constructor

Sub2ApiAdminUpdateChannelMonitorRequest({
  1. String? name,
  2. Sub2ApiAdminChannelMonitorProvider? provider,
  3. Sub2ApiAdminChannelMonitorApiMode? apiMode,
  4. Uri? endpoint,
  5. bool clearEndpoint = false,
  6. Sub2ApiAdminCredentialSecret? apiKey,
  7. String? primaryModel,
  8. List<String>? extraModels,
  9. String? groupName,
  10. bool? enabled,
  11. int? intervalSeconds,
  12. int? jitterSeconds,
  13. int? templateId,
  14. bool clearTemplate = false,
  15. Map<String, String>? extraHeaders,
  16. Sub2ApiAdminChannelMonitorBodyMode? bodyOverrideMode,
  17. Sub2ApiAdminJsonObject? bodyOverride,
  18. Sub2ApiAdminChannelMonitorCheckMode? checkMode,
  19. int? accountId,
})

Implementation

Sub2ApiAdminUpdateChannelMonitorRequest({
  this.name,
  this.provider,
  this.apiMode,
  this.endpoint,
  this.clearEndpoint = false,
  this.apiKey,
  this.primaryModel,
  List<String>? extraModels,
  this.groupName,
  this.enabled,
  this.intervalSeconds,
  this.jitterSeconds,
  this.templateId,
  this.clearTemplate = false,
  Map<String, String>? extraHeaders,
  this.bodyOverrideMode,
  this.bodyOverride,
  this.checkMode,
  this.accountId,
}) : extraModels = extraModels == null
         ? null
         : List.unmodifiable(extraModels),
     extraHeaders = extraHeaders == null
         ? null
         : Map.unmodifiable(extraHeaders);