/* Options: Date: 2026-09-23 02:22:58 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: MarkupRaiseRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class DocumentMarkupLink implements IConvertible { int? DocumentMarkupLinkID; String? AttachmentId; int? VersionNo; int? PageIndex; String? ShapeId; String? EntityType; int? EntityID; String? EntityNo; String? CreatedBy; DateTime? CreatedAt; DocumentMarkupLink({this.DocumentMarkupLinkID,this.AttachmentId,this.VersionNo,this.PageIndex,this.ShapeId,this.EntityType,this.EntityID,this.EntityNo,this.CreatedBy,this.CreatedAt}); DocumentMarkupLink.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentMarkupLinkID = json['DocumentMarkupLinkID']; AttachmentId = json['AttachmentId']; VersionNo = json['VersionNo']; PageIndex = json['PageIndex']; ShapeId = json['ShapeId']; EntityType = json['EntityType']; EntityID = json['EntityID']; EntityNo = json['EntityNo']; CreatedBy = json['CreatedBy']; CreatedAt = JsonConverters.fromJson(json['CreatedAt'],'DateTime',context!); return this; } Map toJson() => { 'DocumentMarkupLinkID': DocumentMarkupLinkID, 'AttachmentId': AttachmentId, 'VersionNo': VersionNo, 'PageIndex': PageIndex, 'ShapeId': ShapeId, 'EntityType': EntityType, 'EntityID': EntityID, 'EntityNo': EntityNo, 'CreatedBy': CreatedBy, 'CreatedAt': JsonConverters.toJson(CreatedAt,'DateTime',context!) }; getTypeName() => "DocumentMarkupLink"; TypeContext? context = _ctx; } class MarkupRaiseResponse implements IConvertible { ResponseStatus? ResponseStatus; DocumentMarkupLink? Link; List? Links = []; MarkupRaiseResponse({this.ResponseStatus,this.Link,this.Links}); MarkupRaiseResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Link = JsonConverters.fromJson(json['Link'],'DocumentMarkupLink',context!); Links = JsonConverters.fromJson(json['Links'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Link': JsonConverters.toJson(Link,'DocumentMarkupLink',context!), 'Links': JsonConverters.toJson(Links,'List',context!) }; getTypeName() => "MarkupRaiseResponse"; TypeContext? context = _ctx; } // @Route("/v1/markup/{AttachmentId}/{VersionNo}/{PageIndex}/shapes/{ShapeId}/{Raise}", "POST,OPTIONS") class MarkupRaiseRequest implements IReturn, IConvertible, IPost { String? AttachmentId; int? VersionNo; int? PageIndex; String? ShapeId; String? Raise; int? ProjectID; String? Title; String? Description; String? Area; String? Trade; String? AssignedSub; String? Priority; String? AskedOf; String? Discipline; DateTime? DueDate; MarkupRaiseRequest({this.AttachmentId,this.VersionNo,this.PageIndex,this.ShapeId,this.Raise,this.ProjectID,this.Title,this.Description,this.Area,this.Trade,this.AssignedSub,this.Priority,this.AskedOf,this.Discipline,this.DueDate}); MarkupRaiseRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { AttachmentId = json['AttachmentId']; VersionNo = json['VersionNo']; PageIndex = json['PageIndex']; ShapeId = json['ShapeId']; Raise = json['Raise']; ProjectID = json['ProjectID']; Title = json['Title']; Description = json['Description']; Area = json['Area']; Trade = json['Trade']; AssignedSub = json['AssignedSub']; Priority = json['Priority']; AskedOf = json['AskedOf']; Discipline = json['Discipline']; DueDate = JsonConverters.fromJson(json['DueDate'],'DateTime',context!); return this; } Map toJson() => { 'AttachmentId': AttachmentId, 'VersionNo': VersionNo, 'PageIndex': PageIndex, 'ShapeId': ShapeId, 'Raise': Raise, 'ProjectID': ProjectID, 'Title': Title, 'Description': Description, 'Area': Area, 'Trade': Trade, 'AssignedSub': AssignedSub, 'Priority': Priority, 'AskedOf': AskedOf, 'Discipline': Discipline, 'DueDate': JsonConverters.toJson(DueDate,'DateTime',context!) }; createResponse() => MarkupRaiseResponse(); getResponseTypeName() => "MarkupRaiseResponse"; getTypeName() => "MarkupRaiseRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'DocumentMarkupLink': TypeInfo(TypeOf.Class, create:() => DocumentMarkupLink()), 'MarkupRaiseResponse': TypeInfo(TypeOf.Class, create:() => MarkupRaiseResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'MarkupRaiseRequest': TypeInfo(TypeOf.Class, create:() => MarkupRaiseRequest()), });