/* Options: Date: 2025-12-06 09:32:59 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: AgentDeviceRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class AgentDevice implements IConvertible { int? AgentDeviceId; String? UserId; String? DeviceId; String? Model; String? Platform; String? UUID; AgentDevice({this.AgentDeviceId,this.UserId,this.DeviceId,this.Model,this.Platform,this.UUID}); AgentDevice.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgentDeviceId = json['AgentDeviceId']; UserId = json['UserId']; DeviceId = json['DeviceId']; Model = json['Model']; Platform = json['Platform']; UUID = json['UUID']; return this; } Map toJson() => { 'AgentDeviceId': AgentDeviceId, 'UserId': UserId, 'DeviceId': DeviceId, 'Model': Model, 'Platform': Platform, 'UUID': UUID }; getTypeName() => "AgentDevice"; TypeContext? context = _ctx; } class AgentDeviceResponse implements IConvertible { ResponseStatus? ResponseStatus; AgentDevice? AgentDevice; AgentDeviceResponse({this.ResponseStatus,this.AgentDevice}); AgentDeviceResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); AgentDevice = JsonConverters.fromJson(json['AgentDevice'],'AgentDevice',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'AgentDevice': JsonConverters.toJson(AgentDevice,'AgentDevice',context!) }; getTypeName() => "AgentDeviceResponse"; TypeContext? context = _ctx; } // @Route("/v1/AgentDevice", "POST, OPTIONS") // @Route("/v1/AgentDevice/{DeviceId}", "GET, DELETE, OPTIONS") class AgentDeviceRequest implements IReturn, IConvertible, IGet { AgentDevice? AgentDevice; String? DeviceId; AgentDeviceRequest({this.AgentDevice,this.DeviceId}); AgentDeviceRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AgentDevice = JsonConverters.fromJson(json['AgentDevice'],'AgentDevice',context!); DeviceId = json['DeviceId']; return this; } Map toJson() => { 'AgentDevice': JsonConverters.toJson(AgentDevice,'AgentDevice',context!), 'DeviceId': DeviceId }; createResponse() => AgentDeviceResponse(); getResponseTypeName() => "AgentDeviceResponse"; getTypeName() => "AgentDeviceRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'AgentDevice': TypeInfo(TypeOf.Class, create:() => AgentDevice()), 'AgentDeviceResponse': TypeInfo(TypeOf.Class, create:() => AgentDeviceResponse()), 'AgentDeviceRequest': TypeInfo(TypeOf.Class, create:() => AgentDeviceRequest()), });