ResourceClaimTemplateSpec class
ResourceClaimTemplateSpec contains the metadata and fields for a ResourceClaim.
Constructors
- ResourceClaimTemplateSpec({ObjectMeta? metadata, required ResourceClaimSpec spec})
-
Default constructor.
const
-
ResourceClaimTemplateSpec.fromJson(Map<
String, dynamic> json) -
Creates a ResourceClaimTemplateSpec from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata → ObjectMeta?
-
ObjectMeta may contain labels and annotations that will be copied into the PVC when creating it. No other fields are allowed and will be rejected during validation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spec → ResourceClaimSpec
-
Spec for the ResourceClaim. The entire content is copied unchanged into the ResourceClaim that gets created from this template. The same fields as in a ResourceClaim are also valid here.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a ResourceClaimTemplateSpec instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited