/* Options: Date: 2025-12-06 08:21:44 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: FFFieldTypeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class FFFieldType implements IConvertible { int? Id; int? SectionTypeId; String? Name; int? width; int? height; bool? CanDuplicate; bool? IsYesNo; FFFieldType({this.Id,this.SectionTypeId,this.Name,this.width,this.height,this.CanDuplicate,this.IsYesNo}); FFFieldType.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; SectionTypeId = json['SectionTypeId']; Name = json['Name']; width = json['width']; height = json['height']; CanDuplicate = json['CanDuplicate']; IsYesNo = json['IsYesNo']; return this; } Map toJson() => { 'Id': Id, 'SectionTypeId': SectionTypeId, 'Name': Name, 'width': width, 'height': height, 'CanDuplicate': CanDuplicate, 'IsYesNo': IsYesNo }; getTypeName() => "FFFieldType"; TypeContext? context = _ctx; } class FFFieldTypeResponse implements IConvertible { ResponseStatus? ResponseStatus; List? FFFieldType = []; FFFieldTypeResponse({this.ResponseStatus,this.FFFieldType}); FFFieldTypeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); FFFieldType = JsonConverters.fromJson(json['FFFieldType'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'FFFieldType': JsonConverters.toJson(FFFieldType,'List',context!) }; getTypeName() => "FFFieldTypeResponse"; TypeContext? context = _ctx; } // @Route("/v1/FFFieldType/{SectionTypeId}/{FFAgentConfigId}", "GET") class FFFieldTypeRequest implements IReturn, IConvertible, IGet { int? SectionTypeId; String? FFAgentConfigId; FFFieldTypeRequest({this.SectionTypeId,this.FFAgentConfigId}); FFFieldTypeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SectionTypeId = json['SectionTypeId']; FFAgentConfigId = json['FFAgentConfigId']; return this; } Map toJson() => { 'SectionTypeId': SectionTypeId, 'FFAgentConfigId': FFAgentConfigId }; createResponse() => FFFieldTypeResponse(); getResponseTypeName() => "FFFieldTypeResponse"; getTypeName() => "FFFieldTypeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FFFieldType': TypeInfo(TypeOf.Class, create:() => FFFieldType()), 'FFFieldTypeResponse': TypeInfo(TypeOf.Class, create:() => FFFieldTypeResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FFFieldTypeRequest': TypeInfo(TypeOf.Class, create:() => FFFieldTypeRequest()), });