forked from Cutlery/immich
open-api
This commit is contained in:
parent
e26f8b45e0
commit
5ae4fb8b81
@ -9,7 +9,7 @@ import 'package:openapi/api.dart';
|
|||||||
Name | Type | Description | Notes
|
Name | Type | Description | Notes
|
||||||
------------ | ------------- | ------------- | -------------
|
------------ | ------------- | ------------- | -------------
|
||||||
**importPath** | **String** | |
|
**importPath** | **String** | |
|
||||||
**isValid** | **bool** | | [optional] [default to false]
|
**isValid** | **bool** | | [default to false]
|
||||||
**message** | **String** | | [optional]
|
**message** | **String** | | [optional]
|
||||||
|
|
||||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||||
|
@ -67,7 +67,7 @@ class ValidateLibraryImportPathResponseDto {
|
|||||||
|
|
||||||
return ValidateLibraryImportPathResponseDto(
|
return ValidateLibraryImportPathResponseDto(
|
||||||
importPath: mapValueOfType<String>(json, r'importPath')!,
|
importPath: mapValueOfType<String>(json, r'importPath')!,
|
||||||
isValid: mapValueOfType<bool>(json, r'isValid') ?? false,
|
isValid: mapValueOfType<bool>(json, r'isValid')!,
|
||||||
message: mapValueOfType<String>(json, r'message'),
|
message: mapValueOfType<String>(json, r'message'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -117,6 +117,7 @@ class ValidateLibraryImportPathResponseDto {
|
|||||||
/// The list of required keys that must be present in a JSON.
|
/// The list of required keys that must be present in a JSON.
|
||||||
static const requiredKeys = <String>{
|
static const requiredKeys = <String>{
|
||||||
'importPath',
|
'importPath',
|
||||||
|
'isValid',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -492,7 +492,7 @@ export type ValidateLibraryDto = {
|
|||||||
};
|
};
|
||||||
export type ValidateLibraryImportPathResponseDto = {
|
export type ValidateLibraryImportPathResponseDto = {
|
||||||
importPath: string;
|
importPath: string;
|
||||||
isValid?: boolean;
|
isValid: boolean;
|
||||||
message?: string;
|
message?: string;
|
||||||
};
|
};
|
||||||
export type ValidateLibraryResponseDto = {
|
export type ValidateLibraryResponseDto = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user