V1CustomResourceDefinitionVersion class
- Annotations
-
- @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)
Constructors
-
V1CustomResourceDefinitionVersion.new({List<
V1CustomResourceColumnDefinition> ? additionalPrinterColumns, bool? deprecated, String? deprecationWarning, required String name, V1CustomResourceValidation? schema, required bool served, required bool storage, V1CustomResourceSubresources? subresources}) - Returns a new V1CustomResourceDefinitionVersion instance.
-
V1CustomResourceDefinitionVersion.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
additionalPrinterColumns
→ List<
V1CustomResourceColumnDefinition> ? -
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.
final
- deprecated → bool?
-
deprecated indicates this version of the custom resource API is deprecated. When set to true, API requests to this version receive a warning header in the server response. Defaults to false.
final
- deprecationWarning → String?
-
deprecationWarning overrides the default warning returned to API clients. May only be set when
deprecated
is true. The default warning indicates this version is deprecated and recommends use of the newest served version of equal or greater stability, if one exists.final - hashCode → int
-
The hash code for this object.
no setteroverride
- name → String
-
name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at
/apis/<group>/<version>/...
ifserved
is true.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schema → V1CustomResourceValidation?
-
final
- served → bool
-
served is a flag enabling/disabling this version from being served via REST APIs
final
- storage → bool
-
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
final
- subresources → V1CustomResourceSubresources?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override