GetCommandInvocationResult.fromJson constructor
GetCommandInvocationResult.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetCommandInvocationResult.fromJson(Map<String, dynamic> json) {
return GetCommandInvocationResult(
cloudWatchOutputConfig: json['CloudWatchOutputConfig'] != null
? CloudWatchOutputConfig.fromJson(
json['CloudWatchOutputConfig'] as Map<String, dynamic>)
: null,
commandId: json['CommandId'] as String?,
comment: json['Comment'] as String?,
documentName: json['DocumentName'] as String?,
documentVersion: json['DocumentVersion'] as String?,
executionElapsedTime: json['ExecutionElapsedTime'] as String?,
executionEndDateTime: json['ExecutionEndDateTime'] as String?,
executionStartDateTime: json['ExecutionStartDateTime'] as String?,
instanceId: json['InstanceId'] as String?,
pluginName: json['PluginName'] as String?,
responseCode: json['ResponseCode'] as int?,
standardErrorContent: json['StandardErrorContent'] as String?,
standardErrorUrl: json['StandardErrorUrl'] as String?,
standardOutputContent: json['StandardOutputContent'] as String?,
standardOutputUrl: json['StandardOutputUrl'] as String?,
status: (json['Status'] as String?)?.toCommandInvocationStatus(),
statusDetails: json['StatusDetails'] as String?,
);
}