AssignNotebookRuntimeRequest.fromJson constructor

AssignNotebookRuntimeRequest.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AssignNotebookRuntimeRequest.fromJson(Map<String, dynamic> json) {
  return AssignNotebookRuntimeRequest(
    parent: json['parent'] ?? '',
    notebookRuntimeTemplate: json['notebookRuntimeTemplate'] ?? '',
    notebookRuntime: decode(
      json['notebookRuntime'],
      NotebookRuntime.fromJson,
    ),
    notebookRuntimeId: json['notebookRuntimeId'] ?? '',
  );
}