QuotaLimit constructor
QuotaLimit({})
Implementation
factory QuotaLimit({
$core.String? description,
$fixnum.Int64? defaultLimit,
$fixnum.Int64? maxLimit,
$core.String? duration,
$core.String? name,
$fixnum.Int64? freeTier,
$core.String? metric,
$core.String? unit,
$core.Map<$core.String, $fixnum.Int64>? values,
$core.String? displayName,
}) {
final _result = create();
if (description != null) {
_result.description = description;
}
if (defaultLimit != null) {
_result.defaultLimit = defaultLimit;
}
if (maxLimit != null) {
_result.maxLimit = maxLimit;
}
if (duration != null) {
_result.duration = duration;
}
if (name != null) {
_result.name = name;
}
if (freeTier != null) {
_result.freeTier = freeTier;
}
if (metric != null) {
_result.metric = metric;
}
if (unit != null) {
_result.unit = unit;
}
if (values != null) {
_result.values.addAll(values);
}
if (displayName != null) {
_result.displayName = displayName;
}
return _result;
}