CrossVersionObjectReference class
CrossVersionObjectReference contains enough information to let you identify the referred resource.
Constructors
- CrossVersionObjectReference({String? apiVersion, required String kind, required String name})
-
The main constructor.
const
-
CrossVersionObjectReference.fromJson(Map<
String, dynamic> json) - Creates a CrossVersionObjectReference from JSON data.
Properties
- apiVersion → String?
-
API version of the referent.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String
-
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds".
final
- name → String
-
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names.
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 CrossVersionObjectReference 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< list) → List<String, dynamic> >CrossVersionObjectReference> - Creates a list of CrossVersionObjectReference from JSON data.