/* Options: Date: 2026-06-22 20:30:48 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: PmActivityRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class PmActivityItem implements IConvertible { String? Type; String? Name; String? Status; String? Note; String? Date; PmActivityItem({this.Type,this.Name,this.Status,this.Note,this.Date}); PmActivityItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Type = json['Type']; Name = json['Name']; Status = json['Status']; Note = json['Note']; Date = json['Date']; return this; } Map toJson() => { 'Type': Type, 'Name': Name, 'Status': Status, 'Note': Note, 'Date': Date }; getTypeName() => "PmActivityItem"; TypeContext? context = _ctx; } class PmActivityResponse implements IConvertible { List? Activities = []; ResponseStatus? ResponseStatus; PmActivityResponse({this.Activities,this.ResponseStatus}); PmActivityResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Activities = JsonConverters.fromJson(json['Activities'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Activities': JsonConverters.toJson(Activities,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "PmActivityResponse"; TypeContext? context = _ctx; } // @Route("/v1/pm/project/activity", "GET,OPTIONS") class PmActivityRequest implements IReturn, IConvertible, IGet { String? Uid; PmActivityRequest({this.Uid}); PmActivityRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Uid = json['Uid']; return this; } Map toJson() => { 'Uid': Uid }; createResponse() => PmActivityResponse(); getResponseTypeName() => "PmActivityResponse"; getTypeName() => "PmActivityRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'PmActivityItem': TypeInfo(TypeOf.Class, create:() => PmActivityItem()), 'PmActivityResponse': TypeInfo(TypeOf.Class, create:() => PmActivityResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PmActivityRequest': TypeInfo(TypeOf.Class, create:() => PmActivityRequest()), });