Status class

Status is a return value for calls that don't return other objects.

Constructors

Status({String? apiVersion, int? code, StatusDetails? details, String? kind, String? message, ListMeta? metadata, String? reason, String? status})
Default constructor.
const
Status.fromJson(Map<String, dynamic> json)
Creates a Status from JSON data.
factory

Properties

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
code int?
Suggested HTTP return code for this status, 0 if not set.
final
details StatusDetails?
Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.
final
hashCode int
The hash code for this object.
no setterinherited
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
message String?
A human-readable description of the status of this operation.
final
metadata ListMeta?
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds.
final
reason String?
A machine-readable description of why this operation is in the "Failure" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
Status of the operation. One of: "Success" or "Failure". More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Converts a Status instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

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