/* Options: Date: 2025-12-06 09:06:17 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: EventFieldSingleRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class EventField implements IConvertible { int? EventFieldId; String? EventRegistrationId; String? FieldName; String? FieldNote; int? FieldSort; EventField({this.EventFieldId,this.EventRegistrationId,this.FieldName,this.FieldNote,this.FieldSort}); EventField.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EventFieldId = json['EventFieldId']; EventRegistrationId = json['EventRegistrationId']; FieldName = json['FieldName']; FieldNote = json['FieldNote']; FieldSort = json['FieldSort']; return this; } Map toJson() => { 'EventFieldId': EventFieldId, 'EventRegistrationId': EventRegistrationId, 'FieldName': FieldName, 'FieldNote': FieldNote, 'FieldSort': FieldSort }; getTypeName() => "EventField"; TypeContext? context = _ctx; } class EventFieldSingleResponse implements IConvertible { ResponseStatus? ResponseStatus; EventField? EventField; EventFieldSingleResponse({this.ResponseStatus,this.EventField}); EventFieldSingleResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); EventField = JsonConverters.fromJson(json['EventField'],'EventField',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'EventField': JsonConverters.toJson(EventField,'EventField',context!) }; getTypeName() => "EventFieldSingleResponse"; TypeContext? context = _ctx; } // @Route("/v1/EventField/{EventFieldId}", "GET,POST,PUT,DELETE,OPTIONS") class EventFieldSingleRequest implements IReturn, IConvertible, IGet { int? EventFieldId; EventFieldSingleRequest({this.EventFieldId}); EventFieldSingleRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EventFieldId = json['EventFieldId']; return this; } Map toJson() => { 'EventFieldId': EventFieldId }; createResponse() => EventFieldSingleResponse(); getResponseTypeName() => "EventFieldSingleResponse"; getTypeName() => "EventFieldSingleRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'EventField': TypeInfo(TypeOf.Class, create:() => EventField()), 'EventFieldSingleResponse': TypeInfo(TypeOf.Class, create:() => EventFieldSingleResponse()), 'EventFieldSingleRequest': TypeInfo(TypeOf.Class, create:() => EventFieldSingleRequest()), });