AllocationPolicy_Disk constructor

AllocationPolicy_Disk({
  1. String? type,
  2. Int64? sizeGb,
  3. String? image,
  4. String? snapshot,
  5. String? diskInterface,
})

Implementation

factory AllocationPolicy_Disk({
  $core.String? type,
  $fixnum.Int64? sizeGb,
  $core.String? image,
  $core.String? snapshot,
  $core.String? diskInterface,
}) {
  final $result = create();
  if (type != null) {
    $result.type = type;
  }
  if (sizeGb != null) {
    $result.sizeGb = sizeGb;
  }
  if (image != null) {
    $result.image = image;
  }
  if (snapshot != null) {
    $result.snapshot = snapshot;
  }
  if (diskInterface != null) {
    $result.diskInterface = diskInterface;
  }
  return $result;
}