LimitRangeSpec class

LimitRangeSpec defines a min/max usage limit for resources that match on kind.

Constructors

LimitRangeSpec({required List<LimitRangeItem> limits})
The main constructor.
const
LimitRangeSpec.fromJson(Map<String, dynamic> json)
Creates a LimitRangeSpec from JSON data.

Properties

hashCode int
The hash code for this object.
no setterinherited
limits List<LimitRangeItem>
Limits is the list of LimitRangeItem objects that are enforced.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a LimitRangeSpec instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

listFromJson(Iterable<Map<String, dynamic>> list) List<LimitRangeSpec>
Creates a list of LimitRangeSpec from JSON data.