StatusDetails class
StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
Constructors
-
StatusDetails({List<
StatusCause> ? causes, String? group, String? kind, String? name, int? retryAfterSeconds, String? uid}) -
Default constructor.
const
-
StatusDetails.fromJson(Map<
String, dynamic> json) -
Creates a StatusDetails from JSON data.
factory
Properties
-
causes
→ List<
StatusCause> ? -
The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.
final
- group → String?
-
The group attribute of the resource associated with the status StatusReason.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → String?
-
The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds.
final
- name → String?
-
The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).
final
- retryAfterSeconds → int?
-
If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uid → String?
-
UID of the resource. (when there is a single resource which can be described). More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a StatusDetails instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited