/* Options: Date: 2025-12-06 06:07:15 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FFFieldRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class FFField implements IConvertible { String? Id; String? FFSectionId; int? FieldTypeId; int? x; int? y; int? height; int? width; String? Text; FFField({this.Id,this.FFSectionId,this.FieldTypeId,this.x,this.y,this.height,this.width,this.Text}); FFField.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; FFSectionId = json['FFSectionId']; FieldTypeId = json['FieldTypeId']; x = json['x']; y = json['y']; height = json['height']; width = json['width']; Text = json['Text']; return this; } Map toJson() => { 'Id': Id, 'FFSectionId': FFSectionId, 'FieldTypeId': FieldTypeId, 'x': x, 'y': y, 'height': height, 'width': width, 'Text': Text }; getTypeName() => "FFField"; TypeContext? context = _ctx; } class FFFieldExtended extends FFField implements IConvertible { String? Name; bool? IsYesNo; FFFieldExtended({this.Name,this.IsYesNo}); FFFieldExtended.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Name = json['Name']; IsYesNo = json['IsYesNo']; return this; } Map toJson() => super.toJson()..addAll({ 'Name': Name, 'IsYesNo': IsYesNo }); getTypeName() => "FFFieldExtended"; TypeContext? context = _ctx; } class FFFieldResponse implements IConvertible { ResponseStatus? ResponseStatus; List? FFField = []; FFFieldResponse({this.ResponseStatus,this.FFField}); FFFieldResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); FFField = JsonConverters.fromJson(json['FFField'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'FFField': JsonConverters.toJson(FFField,'List',context!) }; getTypeName() => "FFFieldResponse"; TypeContext? context = _ctx; } // @Route("/v1/FFField", "GET,POST,PUT,DELETE,OPTIONS") // @Route("/v1/FFField/{Id}", "GET,POST,PUT,DELETE,OPTIONS") class FFFieldRequest implements IReturn, IConvertible, IPost { List? FFField = []; FFFieldRequest({this.FFField}); FFFieldRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FFField = JsonConverters.fromJson(json['FFField'],'List',context!); return this; } Map toJson() => { 'FFField': JsonConverters.toJson(FFField,'List',context!) }; createResponse() => FFFieldResponse(); getResponseTypeName() => "FFFieldResponse"; getTypeName() => "FFFieldRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FFField': TypeInfo(TypeOf.Class, create:() => FFField()), 'FFFieldExtended': TypeInfo(TypeOf.Class, create:() => FFFieldExtended()), 'FFFieldResponse': TypeInfo(TypeOf.Class, create:() => FFFieldResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FFFieldRequest': TypeInfo(TypeOf.Class, create:() => FFFieldRequest()), });