/* Options: Date: 2024-12-22 12:29:30 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: LockOrganization.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/orgs/{Id}/lock", "PUT") class LockOrganization implements IReturnVoid, IPut, IConvertible { int? id; bool? lock; String? reason; LockOrganization({this.id,this.lock,this.reason}); LockOrganization.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; lock = json['lock']; reason = json['reason']; return this; } Map toJson() => { 'id': id, 'lock': lock, 'reason': reason }; createResponse() {} getTypeName() => "LockOrganization"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'techstacks.io', types: { 'LockOrganization': TypeInfo(TypeOf.Class, create:() => LockOrganization()), });