toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (expirationTime != null) 'expirationTime': expirationTime!,
      if (healthState != null) 'healthState': healthState!,
      if (isUpgradable != null) 'isUpgradable': isUpgradable!,
      if (labels != null) 'labels': labels!,
      if (name != null) 'name': name!,
      if (networkTags != null) 'networkTags': networkTags!,
      if (notebookRuntimeTemplateRef != null)
        'notebookRuntimeTemplateRef': notebookRuntimeTemplateRef!,
      if (notebookRuntimeType != null)
        'notebookRuntimeType': notebookRuntimeType!,
      if (proxyUri != null) 'proxyUri': proxyUri!,
      if (reservationAffinity != null)
        'reservationAffinity': reservationAffinity!,
      if (runtimeState != null) 'runtimeState': runtimeState!,
      if (runtimeUser != null) 'runtimeUser': runtimeUser!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (version != null) 'version': version!,
    };