ConditionPatch class

Condition contains details for one aspect of the current state of this API Resource.

Constructors

ConditionPatch({Input<String>? lastTransitionTime, Input<String>? message, Input<int>? observedGeneration, Input<String>? reason, Input<String>? status, Input<String>? type})
Creates a new ConditionPatch. lastTransitionTime lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. message message is a human readable message indicating details about the transition. This may be an empty string. observedGeneration observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditionsx.observedGeneration is 9, the condition is out of date with respect to the current state of the instance. reason reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. status status of the condition, one of True, False, Unknown. type type of condition in CamelCase or in foo.example.com/CamelCase.
const
ConditionPatch.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
lastTransitionTime → Input<String>?
lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
final
message → Input<String>?
message is a human readable message indicating details about the transition. This may be an empty string.
final
observedGeneration → Input<int>?
observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditionsx.observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
final
reason → Input<String>?
reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → Input<String>?
status of the condition, one of True, False, Unknown.
final
type → Input<String>?
type of condition in CamelCase or in foo.example.com/CamelCase.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited