/* Options: Date: 2024-09-19 22:57:12 Version: 8.30 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://initiation-pen.sirva.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ContainerDeleteRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class DocumentRequestBase { /** * ExternalID */ // @ApiMember(Description="ExternalID", ExcludeInSchema=true, IsRequired=true, ParameterType="path") String? ExternalId; DocumentRequestBase({this.ExternalId}); DocumentRequestBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ExternalId = json['ExternalId']; return this; } Map toJson() => { 'ExternalId': ExternalId }; getTypeName() => "DocumentRequestBase"; TypeContext? context = _ctx; } abstract class ResponseBase { String? Message; bool? IsSuccess; ResponseBase({this.Message,this.IsSuccess}); ResponseBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Message = json['Message']; IsSuccess = json['IsSuccess']; return this; } Map toJson() => { 'Message': Message, 'IsSuccess': IsSuccess }; getTypeName() => "ResponseBase"; TypeContext? context = _ctx; } class ContainerDeleteResponse extends ResponseBase implements IConvertible { ContainerDeleteResponse(); ContainerDeleteResponse.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "ContainerDeleteResponse"; TypeContext? context = _ctx; } // @Route("/documents/deleteContainer", "POST, PUT") class ContainerDeleteRequest extends DocumentRequestBase implements IReturn, IConvertible, IPost { ContainerDeleteRequest(); ContainerDeleteRequest.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => ContainerDeleteResponse(); getResponseTypeName() => "ContainerDeleteResponse"; getTypeName() => "ContainerDeleteRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'initiation_pen.sirva.com', types: { 'DocumentRequestBase': TypeInfo(TypeOf.AbstractClass), 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'ContainerDeleteResponse': TypeInfo(TypeOf.Class, create:() => ContainerDeleteResponse()), 'ContainerDeleteRequest': TypeInfo(TypeOf.Class, create:() => ContainerDeleteRequest()), });