SetQuotaRequest constructor
SetQuotaRequest({})
Implementation
factory SetQuotaRequest({
$core.String? instanceId,
$28.Unit? unit,
$6.Timestamp? from,
$7.Duration? resetInterval,
$fixnum.Int64? amount,
$core.bool? limit,
$core.Iterable<$28.Notification>? notifications,
}) {
final $result = create();
if (instanceId != null) {
$result.instanceId = instanceId;
}
if (unit != null) {
$result.unit = unit;
}
if (from != null) {
$result.from = from;
}
if (resetInterval != null) {
$result.resetInterval = resetInterval;
}
if (amount != null) {
$result.amount = amount;
}
if (limit != null) {
$result.limit = limit;
}
if (notifications != null) {
$result.notifications.addAll(notifications);
}
return $result;
}