LimitRangeItem class
LimitRangeItem defines a min/max usage limit for any resource that matches on kind.
Constructors
-
LimitRangeItem({Map<
String, String> ? $default, Map<String, String> ? defaultRequest, Map<String, String> ? max, Map<String, String> ? maxLimitRequestRatio, Map<String, String> ? min, required String type}) -
Default constructor.
const
-
LimitRangeItem.fromJson(Map<
String, dynamic> json) -
Creates a LimitRangeItem from JSON data.
factory
Properties
-
$default
→ Map<
String, String> ? -
Default resource requirement limit value by resource name if resource limit is omitted.
final
-
defaultRequest
→ Map<
String, String> ? -
DefaultRequest is the default resource requirement request value by resource name if resource request is omitted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
max
→ Map<
String, String> ? -
Max usage constraints on this kind by resource name.
final
-
maxLimitRequestRatio
→ Map<
String, String> ? -
MaxLimitRequestRatio if specified, the named resource must have a request and limit that are both non-zero where limit divided by request is less than or equal to the enumerated value; this represents the max burst for the named resource.
final
-
min
→ Map<
String, String> ? -
Min usage constraints on this kind by resource name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
Type of resource that this limit applies to.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a LimitRangeItem instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited