toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (analysisInstanceSchemaUri != null)
        'analysisInstanceSchemaUri': analysisInstanceSchemaUri!,
      if (bigqueryTables != null) 'bigqueryTables': bigqueryTables!,
      if (createTime != null) 'createTime': createTime!,
      if (displayName != null) 'displayName': displayName!,
      if (enableMonitoringPipelineLogs != null)
        'enableMonitoringPipelineLogs': enableMonitoringPipelineLogs!,
      if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (endpoint != null) 'endpoint': endpoint!,
      if (error != null) 'error': error!,
      if (labels != null) 'labels': labels!,
      if (latestMonitoringPipelineMetadata != null)
        'latestMonitoringPipelineMetadata': latestMonitoringPipelineMetadata!,
      if (logTtl != null) 'logTtl': logTtl!,
      if (loggingSamplingStrategy != null)
        'loggingSamplingStrategy': loggingSamplingStrategy!,
      if (modelDeploymentMonitoringObjectiveConfigs != null)
        'modelDeploymentMonitoringObjectiveConfigs':
            modelDeploymentMonitoringObjectiveConfigs!,
      if (modelDeploymentMonitoringScheduleConfig != null)
        'modelDeploymentMonitoringScheduleConfig':
            modelDeploymentMonitoringScheduleConfig!,
      if (modelMonitoringAlertConfig != null)
        'modelMonitoringAlertConfig': modelMonitoringAlertConfig!,
      if (name != null) 'name': name!,
      if (nextScheduleTime != null) 'nextScheduleTime': nextScheduleTime!,
      if (predictInstanceSchemaUri != null)
        'predictInstanceSchemaUri': predictInstanceSchemaUri!,
      if (samplePredictInstance != null)
        'samplePredictInstance': samplePredictInstance!,
      if (scheduleState != null) 'scheduleState': scheduleState!,
      if (state != null) 'state': state!,
      if (statsAnomaliesBaseDirectory != null)
        'statsAnomaliesBaseDirectory': statsAnomaliesBaseDirectory!,
      if (updateTime != null) 'updateTime': updateTime!,
    };