CreateNotebookExecutionJobRequest.fromJson constructor

CreateNotebookExecutionJobRequest.fromJson(
  1. Object? j
)

Implementation

factory CreateNotebookExecutionJobRequest.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return CreateNotebookExecutionJobRequest(
    parent: switch (json['parent']) {
      null => '',
      Object $1 => decodeString($1),
    },
    notebookExecutionJob: switch (json['notebookExecutionJob']) {
      null => null,
      Object $1 => NotebookExecutionJob.fromJson($1),
    },
    notebookExecutionJobId: switch (json['notebookExecutionJobId']) {
      null => '',
      Object $1 => decodeString($1),
    },
  );
}