DescribeNotebookInstanceLifecycleConfigOutput.fromJson constructor
DescribeNotebookInstanceLifecycleConfigOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeNotebookInstanceLifecycleConfigOutput.fromJson(
Map<String, dynamic> json) {
return DescribeNotebookInstanceLifecycleConfigOutput(
creationTime: timeStampFromJson(json['CreationTime']),
lastModifiedTime: timeStampFromJson(json['LastModifiedTime']),
notebookInstanceLifecycleConfigArn:
json['NotebookInstanceLifecycleConfigArn'] as String?,
notebookInstanceLifecycleConfigName:
json['NotebookInstanceLifecycleConfigName'] as String?,
onCreate: (json['OnCreate'] as List?)
?.whereNotNull()
.map((e) =>
NotebookInstanceLifecycleHook.fromJson(e as Map<String, dynamic>))
.toList(),
onStart: (json['OnStart'] as List?)
?.whereNotNull()
.map((e) =>
NotebookInstanceLifecycleHook.fromJson(e as Map<String, dynamic>))
.toList(),
);
}