CreateNotebookRuntimeTemplateRequest.fromJson constructor

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

Implementation

factory CreateNotebookRuntimeTemplateRequest.fromJson(
  Map<String, dynamic> json,
) {
  return CreateNotebookRuntimeTemplateRequest(
    parent: json['parent'] ?? '',
    notebookRuntimeTemplate: decode(
      json['notebookRuntimeTemplate'],
      NotebookRuntimeTemplate.fromJson,
    ),
    notebookRuntimeTemplateId: json['notebookRuntimeTemplateId'] ?? '',
  );
}