/* Options: Date: 2026-06-22 04:41:24 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://gatewayframeworkapi.pstpf.com.au/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetCommunicationData.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; abstract class ISubscription { String? SuiteDataSourceInstanceId; String? ObjectId; String? AlternateKey; bool? IgnoreValidation; } // @ApiResponse(Description="Communications Data for synching to Framework") class GetCommunicationDataResponse implements IConvertible { /** * Bin Row Version of the last update */ // @ApiMember(DataType="byte[]", Description="Bin Row Version of the last update", Name="BinRowVersion") Uint8List? BinRowVersion; /** * Communication Data string (compressed/zipped) */ // @ApiMember(DataType="string", Description="Communication Data string (compressed/zipped)", Name="Communications") String? Communications; ResponseStatus? ResponseStatus; GetCommunicationDataResponse({this.BinRowVersion,this.Communications,this.ResponseStatus}); GetCommunicationDataResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BinRowVersion = JsonConverters.fromJson(json['BinRowVersion'],'Uint8List',context!); Communications = json['Communications']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'BinRowVersion': JsonConverters.toJson(BinRowVersion,'Uint8List',context!), 'Communications': Communications, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "GetCommunicationDataResponse"; TypeContext? context = _ctx; } /** * Retrieves communications from the Communication database to be saved to Framework */ // @Api(Description="Retrieves communications from the Communication database to be saved to Framework") class GetCommunicationData implements IReturn, ISubscription, IConvertible, IGet { /** * Bin Row Version of the last update */ // @ApiMember(DataType="byte[]", Description="Bin Row Version of the last update", Name="BinRowVersion") Uint8List? BinRowVersion; /** * Suite Data Source Instance Id to determine which licensees data to retrieve. */ // @ApiMember(DataType="Guid", Description="Suite Data Source Instance Id to determine which licensees data to retrieve.", Name="SuiteDataSourceInstanceId") String? SuiteDataSourceInstanceId; /** * Batch Call Number. */ // @ApiMember(DataType="int", Description="Batch Call Number.", Name="BatchNumber") int? BatchNumber; /** * Number of records to retrieve per call. */ // @ApiMember(DataType="int", Description="Number of records to retrieve per call.", Name="BatchSize") int? BatchSize; bool? IgnoreValidation; GetCommunicationData({this.BinRowVersion,this.SuiteDataSourceInstanceId,this.BatchNumber,this.BatchSize,this.IgnoreValidation}); GetCommunicationData.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BinRowVersion = JsonConverters.fromJson(json['BinRowVersion'],'Uint8List',context!); SuiteDataSourceInstanceId = json['SuiteDataSourceInstanceId']; BatchNumber = json['BatchNumber']; BatchSize = json['BatchSize']; IgnoreValidation = json['IgnoreValidation']; return this; } Map toJson() => { 'BinRowVersion': JsonConverters.toJson(BinRowVersion,'Uint8List',context!), 'SuiteDataSourceInstanceId': SuiteDataSourceInstanceId, 'BatchNumber': BatchNumber, 'BatchSize': BatchSize, 'IgnoreValidation': IgnoreValidation }; createResponse() => GetCommunicationDataResponse(); getResponseTypeName() => "GetCommunicationDataResponse"; getTypeName() => "GetCommunicationData"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'gatewayframeworkapi.pstpf.com.au', types: { 'ISubscription': TypeInfo(TypeOf.Interface), 'GetCommunicationDataResponse': TypeInfo(TypeOf.Class, create:() => GetCommunicationDataResponse()), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), 'GetCommunicationData': TypeInfo(TypeOf.Class, create:() => GetCommunicationData()), });