chore: update openapi (#8470)

This commit is contained in:
Alex 2024-04-02 14:21:58 -05:00 committed by GitHub
parent 6dfa9e1146
commit 8337da183c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 173 additions and 12 deletions

View file

@ -23,7 +23,7 @@ class MemoryCreateDto {
List<String> assetIds;
Object data;
OnThisDayDto data;
///
/// Please note: This property should have been non-nullable! Since the specification file
@ -97,7 +97,7 @@ class MemoryCreateDto {
assetIds: json[r'assetIds'] is Iterable
? (json[r'assetIds'] as Iterable).cast<String>().toList(growable: false)
: const [],
data: mapValueOfType<Object>(json, r'data')!,
data: OnThisDayDto.fromJson(json[r'data'])!,
isSaved: mapValueOfType<bool>(json, r'isSaved'),
memoryAt: mapDateTime(json, r'memoryAt', r'')!,
seenAt: mapDateTime(json, r'seenAt', r''),