/* Options: Date: 2026-07-08 21:12:51 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: StaffDistributionRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class StaffBoardDto implements IConvertible { String? Board; String? Label; String? ExternalId; String? Status; String? Message; StaffBoardDto({this.Board,this.Label,this.ExternalId,this.Status,this.Message}); StaffBoardDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Board = json['Board']; Label = json['Label']; ExternalId = json['ExternalId']; Status = json['Status']; Message = json['Message']; return this; } Map toJson() => { 'Board': Board, 'Label': Label, 'ExternalId': ExternalId, 'Status': Status, 'Message': Message }; getTypeName() => "StaffBoardDto"; TypeContext? context = _ctx; } class StaffDistributionResponse implements IConvertible { ResponseStatus? ResponseStatus; String? PostingStatus; String? ApplyUrl; String? FeedUrl; List? Boards = []; StaffDistributionResponse({this.ResponseStatus,this.PostingStatus,this.ApplyUrl,this.FeedUrl,this.Boards}); StaffDistributionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); PostingStatus = json['PostingStatus']; ApplyUrl = json['ApplyUrl']; FeedUrl = json['FeedUrl']; Boards = JsonConverters.fromJson(json['Boards'],'List',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'PostingStatus': PostingStatus, 'ApplyUrl': ApplyUrl, 'FeedUrl': FeedUrl, 'Boards': JsonConverters.toJson(Boards,'List',context!) }; getTypeName() => "StaffDistributionResponse"; TypeContext? context = _ctx; } // @Route("/v1/staff/posting/distribution", "GET,OPTIONS") class StaffDistributionRequest implements IReturn, IConvertible, IGet { int? PlaceholderContactID; StaffDistributionRequest({this.PlaceholderContactID}); StaffDistributionRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { PlaceholderContactID = json['PlaceholderContactID']; return this; } Map toJson() => { 'PlaceholderContactID': PlaceholderContactID }; createResponse() => StaffDistributionResponse(); getResponseTypeName() => "StaffDistributionResponse"; getTypeName() => "StaffDistributionRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'StaffBoardDto': TypeInfo(TypeOf.Class, create:() => StaffBoardDto()), 'StaffDistributionResponse': TypeInfo(TypeOf.Class, create:() => StaffDistributionResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'StaffDistributionRequest': TypeInfo(TypeOf.Class, create:() => StaffDistributionRequest()), });