DataSourceRefreshSchedule.fromJson constructor
DataSourceRefreshSchedule.fromJson(
- Map json_
Implementation
DataSourceRefreshSchedule.fromJson(core.Map json_)
: this(
dailySchedule: json_.containsKey('dailySchedule')
? DataSourceRefreshDailySchedule.fromJson(
json_['dailySchedule'] as core.Map<core.String, core.dynamic>)
: null,
enabled: json_['enabled'] as core.bool?,
monthlySchedule: json_.containsKey('monthlySchedule')
? DataSourceRefreshMonthlySchedule.fromJson(
json_['monthlySchedule']
as core.Map<core.String, core.dynamic>)
: null,
nextRun: json_.containsKey('nextRun')
? Interval.fromJson(
json_['nextRun'] as core.Map<core.String, core.dynamic>)
: null,
refreshScope: json_['refreshScope'] as core.String?,
weeklySchedule: json_.containsKey('weeklySchedule')
? DataSourceRefreshWeeklySchedule.fromJson(json_['weeklySchedule']
as core.Map<core.String, core.dynamic>)
: null,
);