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 (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (expirationTime != null) 'expirationTime': expirationTime!,
      if (healthState != null) 'healthState': healthState!,
      if (idleShutdownConfig != null)
        'idleShutdownConfig': idleShutdownConfig!,
      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 (runtimeState != null) 'runtimeState': runtimeState!,
      if (runtimeUser != null) 'runtimeUser': runtimeUser!,
      if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (version != null) 'version': version!,
    };