Instance_Disk constructor

Instance_Disk({
  1. bool? autoDelete,
  2. bool? boot,
  3. String? deviceName,
  4. Int64? diskSizeGb,
  5. Iterable<Instance_Disk_GuestOsFeature>? guestOsFeatures,
  6. Int64? index,
  7. String? interface,
  8. String? kind,
  9. Iterable<String>? licenses,
  10. String? mode,
  11. String? source,
  12. String? type,
})

Implementation

factory Instance_Disk({
  $core.bool? autoDelete,
  $core.bool? boot,
  $core.String? deviceName,
  $fixnum.Int64? diskSizeGb,
  $core.Iterable<Instance_Disk_GuestOsFeature>? guestOsFeatures,
  $fixnum.Int64? index,
  $core.String? interface,
  $core.String? kind,
  $core.Iterable<$core.String>? licenses,
  $core.String? mode,
  $core.String? source,
  $core.String? type,
}) {
  final $result = create();
  if (autoDelete != null) {
    $result.autoDelete = autoDelete;
  }
  if (boot != null) {
    $result.boot = boot;
  }
  if (deviceName != null) {
    $result.deviceName = deviceName;
  }
  if (diskSizeGb != null) {
    $result.diskSizeGb = diskSizeGb;
  }
  if (guestOsFeatures != null) {
    $result.guestOsFeatures.addAll(guestOsFeatures);
  }
  if (index != null) {
    $result.index = index;
  }
  if (interface != null) {
    $result.interface = interface;
  }
  if (kind != null) {
    $result.kind = kind;
  }
  if (licenses != null) {
    $result.licenses.addAll(licenses);
  }
  if (mode != null) {
    $result.mode = mode;
  }
  if (source != null) {
    $result.source = source;
  }
  if (type != null) {
    $result.type = type;
  }
  return $result;
}