Instance_Disk constructor
Instance_Disk({})
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;
}