mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore(server): auto sort open api spec (#3500)
* chore: recursively sort api keys * chore: open api
This commit is contained in:
parent
690b87e375
commit
310fab526d
190 changed files with 6172 additions and 6168 deletions
|
|
@ -13,38 +13,38 @@ part of openapi.api;
|
|||
class AlbumCountResponseDto {
|
||||
/// Returns a new [AlbumCountResponseDto] instance.
|
||||
AlbumCountResponseDto({
|
||||
required this.notShared,
|
||||
required this.owned,
|
||||
required this.shared,
|
||||
required this.notShared,
|
||||
});
|
||||
|
||||
int notShared;
|
||||
|
||||
int owned;
|
||||
|
||||
int shared;
|
||||
|
||||
int notShared;
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is AlbumCountResponseDto &&
|
||||
other.notShared == notShared &&
|
||||
other.owned == owned &&
|
||||
other.shared == shared &&
|
||||
other.notShared == notShared;
|
||||
other.shared == shared;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
// ignore: unnecessary_parenthesis
|
||||
(notShared.hashCode) +
|
||||
(owned.hashCode) +
|
||||
(shared.hashCode) +
|
||||
(notShared.hashCode);
|
||||
(shared.hashCode);
|
||||
|
||||
@override
|
||||
String toString() => 'AlbumCountResponseDto[owned=$owned, shared=$shared, notShared=$notShared]';
|
||||
String toString() => 'AlbumCountResponseDto[notShared=$notShared, owned=$owned, shared=$shared]';
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final json = <String, dynamic>{};
|
||||
json[r'notShared'] = this.notShared;
|
||||
json[r'owned'] = this.owned;
|
||||
json[r'shared'] = this.shared;
|
||||
json[r'notShared'] = this.notShared;
|
||||
return json;
|
||||
}
|
||||
|
||||
|
|
@ -56,9 +56,9 @@ class AlbumCountResponseDto {
|
|||
final json = value.cast<String, dynamic>();
|
||||
|
||||
return AlbumCountResponseDto(
|
||||
notShared: mapValueOfType<int>(json, r'notShared')!,
|
||||
owned: mapValueOfType<int>(json, r'owned')!,
|
||||
shared: mapValueOfType<int>(json, r'shared')!,
|
||||
notShared: mapValueOfType<int>(json, r'notShared')!,
|
||||
);
|
||||
}
|
||||
return null;
|
||||
|
|
@ -106,9 +106,9 @@ class AlbumCountResponseDto {
|
|||
|
||||
/// The list of required keys that must be present in a JSON.
|
||||
static const requiredKeys = <String>{
|
||||
'notShared',
|
||||
'owned',
|
||||
'shared',
|
||||
'notShared',
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue