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