toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final arguments = this.arguments;
  final crawlerName = this.crawlerName;
  final jobName = this.jobName;
  final notificationProperty = this.notificationProperty;
  final securityConfiguration = this.securityConfiguration;
  final timeout = this.timeout;
  return {
    if (arguments != null) 'Arguments': arguments,
    if (crawlerName != null) 'CrawlerName': crawlerName,
    if (jobName != null) 'JobName': jobName,
    if (notificationProperty != null)
      'NotificationProperty': notificationProperty,
    if (securityConfiguration != null)
      'SecurityConfiguration': securityConfiguration,
    if (timeout != null) 'Timeout': timeout,
  };
}