/* Options: Date: 2026-08-01 05:31:40 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: SamGovWdSearchRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class SamGovWdSummary implements IConvertible { String? WdNumber; int? Revision; String? ConstructionTypes; String? Counties; DateTime? PublishDate; DateTime? ModifiedDate; bool? IsActive; SamGovWdSummary({this.WdNumber,this.Revision,this.ConstructionTypes,this.Counties,this.PublishDate,this.ModifiedDate,this.IsActive}); SamGovWdSummary.fromJson(Map json) { fromMap(json); } fromMap(Map json) { WdNumber = json['WdNumber']; Revision = json['Revision']; ConstructionTypes = json['ConstructionTypes']; Counties = json['Counties']; PublishDate = JsonConverters.fromJson(json['PublishDate'],'DateTime',context!); ModifiedDate = JsonConverters.fromJson(json['ModifiedDate'],'DateTime',context!); IsActive = json['IsActive']; return this; } Map toJson() => { 'WdNumber': WdNumber, 'Revision': Revision, 'ConstructionTypes': ConstructionTypes, 'Counties': Counties, 'PublishDate': JsonConverters.toJson(PublishDate,'DateTime',context!), 'ModifiedDate': JsonConverters.toJson(ModifiedDate,'DateTime',context!), 'IsActive': IsActive }; getTypeName() => "SamGovWdSummary"; TypeContext? context = _ctx; } class SamGovWdSearchResponse implements IConvertible { ResponseStatus? ResponseStatus; List? Results = []; SamGovWdSearchResponse({this.ResponseStatus,this.Results}); SamGovWdSearchResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Results = JsonConverters.fromJson(json['Results'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Results': JsonConverters.toJson(Results,'List',context!) }; getTypeName() => "SamGovWdSearchResponse"; TypeContext? context = _ctx; } // @Route("/v1/wage-determinations/samgov/search", "GET,OPTIONS") class SamGovWdSearchRequest implements IReturn, IConvertible, IGet { String? State; String? ConstructionType; String? Q; SamGovWdSearchRequest({this.State,this.ConstructionType,this.Q}); SamGovWdSearchRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { State = json['State']; ConstructionType = json['ConstructionType']; Q = json['Q']; return this; } Map toJson() => { 'State': State, 'ConstructionType': ConstructionType, 'Q': Q }; createResponse() => SamGovWdSearchResponse(); getResponseTypeName() => "SamGovWdSearchResponse"; getTypeName() => "SamGovWdSearchRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'SamGovWdSummary': TypeInfo(TypeOf.Class, create:() => SamGovWdSummary()), 'SamGovWdSearchResponse': TypeInfo(TypeOf.Class, create:() => SamGovWdSearchResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SamGovWdSearchRequest': TypeInfo(TypeOf.Class, create:() => SamGovWdSearchRequest()), });