toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dataRefreshWindowDays != null)
        'dataRefreshWindowDays': dataRefreshWindowDays!,
      if (dataSourceId != null) 'dataSourceId': dataSourceId!,
      if (datasetRegion != null) 'datasetRegion': datasetRegion!,
      if (destinationDatasetId != null)
        'destinationDatasetId': destinationDatasetId!,
      if (disabled != null) 'disabled': disabled!,
      if (displayName != null) 'displayName': displayName!,
      if (emailPreferences != null) 'emailPreferences': emailPreferences!,
      if (encryptionConfiguration != null)
        'encryptionConfiguration': encryptionConfiguration!,
      if (name != null) 'name': name!,
      if (nextRunTime != null) 'nextRunTime': nextRunTime!,
      if (notificationPubsubTopic != null)
        'notificationPubsubTopic': notificationPubsubTopic!,
      if (ownerInfo != null) 'ownerInfo': ownerInfo!,
      if (params != null) 'params': params!,
      if (schedule != null) 'schedule': schedule!,
      if (scheduleOptions != null) 'scheduleOptions': scheduleOptions!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (userId != null) 'userId': userId!,
    };