/* Options: Date: 2026-06-23 00:05:45 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: QuoteScopeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class QuoteScopeItem implements IConvertible { String? ItemType; int? SourceRefId; int? JobID; String? JobName; String? Name; double? Quantity; double? UnitPrice; QuoteScopeItem({this.ItemType,this.SourceRefId,this.JobID,this.JobName,this.Name,this.Quantity,this.UnitPrice}); QuoteScopeItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ItemType = json['ItemType']; SourceRefId = json['SourceRefId']; JobID = json['JobID']; JobName = json['JobName']; Name = json['Name']; Quantity = JsonConverters.toDouble(json['Quantity']); UnitPrice = JsonConverters.toDouble(json['UnitPrice']); return this; } Map toJson() => { 'ItemType': ItemType, 'SourceRefId': SourceRefId, 'JobID': JobID, 'JobName': JobName, 'Name': Name, 'Quantity': Quantity, 'UnitPrice': UnitPrice }; getTypeName() => "QuoteScopeItem"; TypeContext? context = _ctx; } class QuoteScopeResponse implements IConvertible { ResponseStatus? ResponseStatus; List? ScopeItems = []; QuoteScopeResponse({this.ResponseStatus,this.ScopeItems}); QuoteScopeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); ScopeItems = JsonConverters.fromJson(json['ScopeItems'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'ScopeItems': JsonConverters.toJson(ScopeItems,'List',context!) }; getTypeName() => "QuoteScopeResponse"; TypeContext? context = _ctx; } // @Route("/v1/project/{ProjectUID}/quote-scope", "GET,OPTIONS") class QuoteScopeRequest implements IReturn, IConvertible, IGet { String? ProjectUID; QuoteScopeRequest({this.ProjectUID}); QuoteScopeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ProjectUID = json['ProjectUID']; return this; } Map toJson() => { 'ProjectUID': ProjectUID }; createResponse() => QuoteScopeResponse(); getResponseTypeName() => "QuoteScopeResponse"; getTypeName() => "QuoteScopeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'QuoteScopeItem': TypeInfo(TypeOf.Class, create:() => QuoteScopeItem()), 'QuoteScopeResponse': TypeInfo(TypeOf.Class, create:() => QuoteScopeResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'QuoteScopeRequest': TypeInfo(TypeOf.Class, create:() => QuoteScopeRequest()), });