AllocationPolicy_AttachedDisk constructor

AllocationPolicy_AttachedDisk({
  1. AllocationPolicy_Disk? newDisk,
  2. String? existingDisk,
  3. String? deviceName,
})

Implementation

factory AllocationPolicy_AttachedDisk({
  AllocationPolicy_Disk? newDisk,
  $core.String? existingDisk,
  $core.String? deviceName,
}) {
  final $result = create();
  if (newDisk != null) {
    $result.newDisk = newDisk;
  }
  if (existingDisk != null) {
    $result.existingDisk = existingDisk;
  }
  if (deviceName != null) {
    $result.deviceName = deviceName;
  }
  return $result;
}