]> git.proxmox.com Git - flutter/proxmox_dart_api_client.git/commitdiff
add template parameter
authorTim Marx <t.marx@proxmox.com>
Thu, 10 Sep 2020 09:49:16 +0000 (11:49 +0200)
committerTim Marx <t.marx@proxmox.com>
Thu, 10 Sep 2020 09:49:16 +0000 (11:49 +0200)
Signed-off-by: Tim Marx <t.marx@proxmox.com>
lib/src/models/pve_cluster_resources_model.dart
lib/src/models/pve_nodes_lxc_status_model.dart
lib/src/models/pve_nodes_qemu_status_model.dart

index 59fdf1d3504aaa9612668a3e4143638f5b9fff61..1e3b2379ff8cf28f40f37c3b57df551b2e6a3f4a 100644 (file)
@@ -47,6 +47,8 @@ abstract class PveClusterResourcesModel
   int get vmid;
   @nullable
   String get lock;
+  @nullable
+  bool get template;
 
   factory PveClusterResourcesModel(
           [void Function(PveClusterResourcesModelBuilder) updates]) =
index 6e29487ec94b4a700afbca1b1fb534294d8317b4..f5ef45aa8a19c28932eef15f7c5edc90c3f18f85 100644 (file)
@@ -29,6 +29,8 @@ abstract class PveNodesLxcStatusModel
   String get tags;
   @nullable
   Duration get uptime;
+  @nullable
+  bool get template;
 
   PveNodesLxcStatusModel._();
 
index c65d39b7d2d989ed0fcad9bf2764f183879f6c0d..78d25fa64daea00d3849d8138171df144dff7f4a 100644 (file)
@@ -45,7 +45,7 @@ abstract class PveQemuStatusModel
   @nullable
   String get lock;
   @nullable
-  String get template;
+  bool get template;
 
   PveQemuStatusModel._();
   factory PveQemuStatusModel(