Skip to content

Commit

Permalink
Added AdditionalDataHolder interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoboss committed Feb 13, 2024
1 parent 038091e commit 2986d08
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/kiota_abstractions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ part 'src/request_information.dart';
part 'src/request_option.dart';
part 'src/response_handler.dart';
part 'src/response_handler_option.dart';
part 'src/serialization/additional_data_holder.dart';
part 'src/serialization/parsable.dart';
part 'src/serialization/parsable_factory.dart';
part 'src/serialization/parsable_hook.dart';
Expand Down
8 changes: 8 additions & 0 deletions lib/src/serialization/additional_data_holder.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
part of '../../kiota_abstractions.dart';

/// Defines a contract for models that can hold additional data besides the
/// properties defined in the model.
abstract class AdditionDataHolder {
/// Additional data that is not part of the model's properties.
Map<String, Object> additionalData = {};
}

0 comments on commit 2986d08

Please sign in to comment.