EventsV1Event class
- Annotations
-
- @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)
Constructors
- EventsV1Event.new({String? action, String? apiVersion, int? deprecatedCount, DateTime? deprecatedFirstTimestamp, DateTime? deprecatedLastTimestamp, V1EventSource? deprecatedSource, required DateTime eventTime, String? kind, V1ObjectMeta? metadata, String? note, String? reason, V1ObjectReference? regarding, String? reportingController, String? reportingInstance, EventsV1EventSeries? series, String? type})
- Returns a new EventsV1Event instance.
-
EventsV1Event.fromJson(Map<
String, dynamic> json) -
factory
Properties
- action → String?
-
action is what action was taken/failed regarding to the regarding object. It is machine-readable. This field cannot be empty for new Events and it can have at most 128 characters.
final
- apiVersion → String?
-
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
final
- deprecatedCount → int?
-
deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type.
final
- deprecatedFirstTimestamp → DateTime?
-
deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
final
- deprecatedLastTimestamp → DateTime?
-
deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type.
final
- deprecatedSource → V1EventSource?
-
final
- eventTime → DateTime
-
eventTime is the time when this Event was first observed. It is required.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- kind → String?
-
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
final
- metadata → V1ObjectMeta?
-
final
- note → String?
-
note is a human-readable description of the status of this operation. Maximal length of the note is 1kB, but libraries should be prepared to handle values up to 64kB.
final
- reason → String?
-
reason is why the action was taken. It is human-readable. This field cannot be empty for new Events and it can have at most 128 characters.
final
- regarding → V1ObjectReference?
-
final
-
final
- reportingController → String?
-
reportingController is the name of the controller that emitted this Event, e.g.
kubernetes.io/kubelet
. This field cannot be empty for new Events.final - reportingInstance → String?
-
reportingInstance is the ID of the controller instance, e.g.
kubelet-xyzf
. This field cannot be empty for new Events and it can have at most 128 characters.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- series → EventsV1EventSeries?
-
final
- type → String?
-
type is the type of this event (Normal, Warning), new types could be added in the future. It is machine-readable. This field cannot be empty for new Events.
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