StatusCausePatch class
StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
Constructors
-
StatusCausePatch({Input<
String> ? field, Input<String> ? message, Input<String> ? reason}) -
Creates a new StatusCausePatch.
fieldThe field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.messageA human-readable description of the cause of the error. This field may be presented as-is to a reader.reasonA machine-readable description of the cause of the error. If this value is empty there is no information available.const -
StatusCausePatch.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
field
→ Input<
String> ? -
The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors. Optional.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
message
→ Input<
String> ? -
A human-readable description of the cause of the error. This field may be presented as-is to a reader.
final
-
reason
→ Input<
String> ? -
A machine-readable description of the cause of the error. If this value is empty there is no information available.
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
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited