toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  'avroSource': ?avroSource?.toJson(),
  'bigquerySource': ?bigquerySource?.toJson(),
  'csvSource': ?csvSource?.toJson(),
  'featureTimeField': ?featureTimeField,
  'featureTime': ?featureTime?.toJson(),
  'entityType': entityType,
  if (entityIdField.isNotDefault) 'entityIdField': entityIdField,
  'featureSpecs': [for (final i in featureSpecs) i.toJson()],
  if (disableOnlineServing.isNotDefault)
    'disableOnlineServing': disableOnlineServing,
  if (workerCount.isNotDefault) 'workerCount': workerCount,
  if (disableIngestionAnalysis.isNotDefault)
    'disableIngestionAnalysis': disableIngestionAnalysis,
};