SetPowerModeRequest constructor
Implementation
factory SetPowerModeRequest({
$core.String? name,
PowerMode? powerMode,
$42.Duration? duration,
$43.Struct? extra,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (powerMode != null) {
$result.powerMode = powerMode;
}
if (duration != null) {
$result.duration = duration;
}
if (extra != null) {
$result.extra = extra;
}
return $result;
}