|
7 | 7 | import java.util.Map; |
8 | 8 |
|
9 | 9 | import org.codehaus.jackson.annotate.JsonAnySetter; |
| 10 | +import org.codehaus.jackson.annotate.JsonIgnoreProperties; |
10 | 11 | import org.codehaus.jackson.annotate.JsonProperty; |
11 | 12 | import org.codehaus.jackson.map.annotate.JsonRootName; |
12 | 13 |
|
@@ -227,6 +228,15 @@ public String toString() { |
227 | 228 |
|
228 | 229 | @JsonProperty("OS-EXT-AZ:availability_zone") |
229 | 230 | private String availabilityZone; |
| 231 | + |
| 232 | + @JsonProperty("OS-SRV-USG:launched_at") |
| 233 | + private String launchedAt; |
| 234 | + |
| 235 | + @JsonProperty("OS-SRV-USG:terminated_at") |
| 236 | + private String terminatedAt; |
| 237 | + |
| 238 | + @JsonProperty("os-extended-volumes:volumes_attached") |
| 239 | + private List<String> osExtendedVolumesAttached; |
230 | 240 |
|
231 | 241 | private String uuid; |
232 | 242 |
|
@@ -442,7 +452,28 @@ public String getAvailabilityZone() { |
442 | 452 | return availabilityZone; |
443 | 453 | } |
444 | 454 |
|
445 | | - /** |
| 455 | + /** |
| 456 | + * @return the launchedAt |
| 457 | + */ |
| 458 | + public String getLaunchedAt() { |
| 459 | + return launchedAt; |
| 460 | + } |
| 461 | + |
| 462 | + /** |
| 463 | + * @return the terminatedAt |
| 464 | + */ |
| 465 | + public String getTerminatedAt() { |
| 466 | + return terminatedAt; |
| 467 | + } |
| 468 | + |
| 469 | + /** |
| 470 | + * @return the osExtendedVolumesAttached |
| 471 | + */ |
| 472 | + public List<String> getOsExtendedVolumesAttached() { |
| 473 | + return osExtendedVolumesAttached; |
| 474 | + } |
| 475 | + |
| 476 | + /** |
446 | 477 | * @return the uuid |
447 | 478 | */ |
448 | 479 | public String getUuid() { |
@@ -474,7 +505,9 @@ public String toString() { |
474 | 505 | + vmState + ", host=" + host + ", instanceName=" + instanceName |
475 | 506 | + ", hypervisorHostname=" + hypervisorHostname |
476 | 507 | + ", diskConfig=" + diskConfig + ", availabilityZone=" |
477 | | - + availabilityZone + ", uuid=" + uuid + ", adminPass=" |
| 508 | + + availabilityZone + ", launchedAt=" + launchedAt + ", terminatedAt=" |
| 509 | + + ", " + "osExtendedVolumesAttached=" + osExtendedVolumesAttached |
| 510 | + + ", uuid=" + uuid + ", adminPass=" |
478 | 511 | + adminPass + "]"; |
479 | 512 | } |
480 | 513 |
|
|
0 commit comments