/* Options: Date: 2024-10-18 04:17:14 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetDocumentStorageSystemStatus.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum CheckStorageSystemStatus { Error, Waiting, NoAction, Busy, } class GetDocumentStorageSystemStatusResponse implements IConvertible { CheckStorageSystemStatus? CheckStorageSystemStatus; GetDocumentStorageSystemStatusResponse({this.CheckStorageSystemStatus}); GetDocumentStorageSystemStatusResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CheckStorageSystemStatus = JsonConverters.fromJson(json['CheckStorageSystemStatus'],'CheckStorageSystemStatus',context!); return this; } Map toJson() => { 'CheckStorageSystemStatus': JsonConverters.toJson(CheckStorageSystemStatus,'CheckStorageSystemStatus',context!) }; getTypeName() => "GetDocumentStorageSystemStatusResponse"; TypeContext? context = _ctx; } /** * Check storagesystem status for a document and update if necessary. */ // @Route("/documents/{DocumentID}/checkstoragesystem", "GET") // @Api(Description="Check storagesystem status for a document and update if necessary.") // @ApiResponse(Description="Status of the document (Error,NotAvailable,IsAvailable,NotAvailableBeingUpdated) ", IsDefaultResponse=true, StatusCode=200) // @ApiResponse(Description="Document is moved to recycle bin", StatusCode=204) // @ApiResponse(Description="Unauthorized to read document", StatusCode=401) // @ApiResponse(Description="Document not found", StatusCode=410) class GetDocumentStorageSystemStatus implements IReturn, IConvertible { /** * DocumentID to be checked */ // @ApiMember(Description="DocumentID to be checked", IsRequired=true) String? DocumentID; GetDocumentStorageSystemStatus({this.DocumentID}); GetDocumentStorageSystemStatus.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentID = json['DocumentID']; return this; } Map toJson() => { 'DocumentID': DocumentID }; createResponse() => GetDocumentStorageSystemStatusResponse(); getResponseTypeName() => "GetDocumentStorageSystemStatusResponse"; getTypeName() => "GetDocumentStorageSystemStatus"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'CheckStorageSystemStatus': TypeInfo(TypeOf.Enum, enumValues:CheckStorageSystemStatus.values), 'GetDocumentStorageSystemStatusResponse': TypeInfo(TypeOf.Class, create:() => GetDocumentStorageSystemStatusResponse()), 'GetDocumentStorageSystemStatus': TypeInfo(TypeOf.Class, create:() => GetDocumentStorageSystemStatus()), });