BatchDeleteRequest class
A class representing a batch delete request.
Use this class to specify the criteria for deleting multiple items in a batch from a data source. The match parameter is required. The output parameter is required. The dryRun parameter is required. The BatchDeleteRequest class can be used to specify the criteria for deleting multiple items in a batch from a data source.
- Annotations
-
- @JsonSerializable()
Constructors
- BatchDeleteRequest({required Match match, required String output, required bool dryRun})
- Creates a new BatchDeleteRequest instance.
-
BatchDeleteRequest.fromJson(Map<
String, dynamic> json) -
Creates a BatchDeleteRequest instance from a JSON map.
factory
Properties
- dryRun → bool
-
Indicates whether it is a dry run, which means the deletion will not be executed but the response will show what would be deleted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- match → Match
-
The match criteria for deleting items.
final
- output → String
-
The desired output format for the delete operation.
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
-
toJson(
) → Map< String, dynamic> - Converts the BatchDeleteRequest instance to a JSON map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited