import 'package:servicestack/servicestack.dart';
import 'dart:typed_data';
class GetNonCorporateIdentityRegistrationprofiles implements IConvertible
{
List<String>? FileExtensions;
bool? OnlyExternalLinkCompatible;
String? DocType;
GetNonCorporateIdentityRegistrationprofiles({this.FileExtensions,this.OnlyExternalLinkCompatible,this.DocType});
GetNonCorporateIdentityRegistrationprofiles.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
FileExtensions = JsonConverters.fromJson(json['FileExtensions'],'List<String>',context!);
OnlyExternalLinkCompatible = json['OnlyExternalLinkCompatible'];
DocType = json['DocType'];
return this;
}
Map<String, dynamic> toJson() => {
'FileExtensions': JsonConverters.toJson(FileExtensions,'List<String>',context!),
'OnlyExternalLinkCompatible': OnlyExternalLinkCompatible,
'DocType': DocType
};
getTypeName() => "GetNonCorporateIdentityRegistrationprofiles";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: <String, TypeInfo> {
'GetNonCorporateIdentityRegistrationprofiles': TypeInfo(TypeOf.Class, create:() => GetNonCorporateIdentityRegistrationprofiles()),
});
Dart GetNonCorporateIdentityRegistrationprofiles DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/GetNonCorporateIdentityRegistrationprofiles HTTP/1.1
Host: digiofficeapigateway.deltares.nl
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"FileExtensions":["String"],"OnlyExternalLinkCompatible":false,"DocType":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length [{"ID":"00000000-0000-0000-0000-000000000000","Name":"String","Hint":"String","Order":0,"RegisterAutomatically":false,"RegisterInBackground":false,"ThumbnailUrl":"String","ProgCode":"String","VersionControlType":0,"WOPlaceLogo":0,"WOPrinterBins":"String","SelectAllFiles":false}]