StartSyncExecutionOutput.fromJson constructor
StartSyncExecutionOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory StartSyncExecutionOutput.fromJson(Map<String, dynamic> json) {
return StartSyncExecutionOutput(
executionArn: json['executionArn'] as String,
startDate: nonNullableTimeStampFromJson(json['startDate'] as Object),
status: (json['status'] as String).toSyncExecutionStatus(),
stopDate: nonNullableTimeStampFromJson(json['stopDate'] as Object),
billingDetails: json['billingDetails'] != null
? BillingDetails.fromJson(
json['billingDetails'] as Map<String, dynamic>)
: null,
cause: json['cause'] as String?,
error: json['error'] as String?,
input: json['input'] as String?,
inputDetails: json['inputDetails'] != null
? CloudWatchEventsExecutionDataDetails.fromJson(
json['inputDetails'] as Map<String, dynamic>)
: null,
name: json['name'] as String?,
output: json['output'] as String?,
outputDetails: json['outputDetails'] != null
? CloudWatchEventsExecutionDataDetails.fromJson(
json['outputDetails'] as Map<String, dynamic>)
: null,
stateMachineArn: json['stateMachineArn'] as String?,
traceHeader: json['traceHeader'] as String?,
);
}