VmwareVmDetails constructor

VmwareVmDetails({
  1. String? vmId,
  2. String? datacenterId,
  3. String? datacenterDescription,
  4. String? uuid,
  5. String? displayName,
  6. VmwareVmDetails_PowerState? powerState,
  7. int? cpuCount,
  8. int? memoryMb,
  9. int? diskCount,
  10. String? guestDescription,
  11. Int64? committedStorageMb,
  12. VmwareVmDetails_BootOption? bootOption,
})

Implementation

factory VmwareVmDetails({
  $core.String? vmId,
  $core.String? datacenterId,
  $core.String? datacenterDescription,
  $core.String? uuid,
  $core.String? displayName,
  VmwareVmDetails_PowerState? powerState,
  $core.int? cpuCount,
  $core.int? memoryMb,
  $core.int? diskCount,
  $core.String? guestDescription,
  $fixnum.Int64? committedStorageMb,
  VmwareVmDetails_BootOption? bootOption,
}) {
  final $result = create();
  if (vmId != null) {
    $result.vmId = vmId;
  }
  if (datacenterId != null) {
    $result.datacenterId = datacenterId;
  }
  if (datacenterDescription != null) {
    $result.datacenterDescription = datacenterDescription;
  }
  if (uuid != null) {
    $result.uuid = uuid;
  }
  if (displayName != null) {
    $result.displayName = displayName;
  }
  if (powerState != null) {
    $result.powerState = powerState;
  }
  if (cpuCount != null) {
    $result.cpuCount = cpuCount;
  }
  if (memoryMb != null) {
    $result.memoryMb = memoryMb;
  }
  if (diskCount != null) {
    $result.diskCount = diskCount;
  }
  if (guestDescription != null) {
    $result.guestDescription = guestDescription;
  }
  if (committedStorageMb != null) {
    $result.committedStorageMb = committedStorageMb;
  }
  if (bootOption != null) {
    $result.bootOption = bootOption;
  }
  return $result;
}