import 'package:servicestack/servicestack.dart';
class AbrCountCheckResponse implements IConvertible
{
bool? Antwort;
AbrCountCheckResponse({this.Antwort});
AbrCountCheckResponse.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
Antwort = json['Antwort'];
return this;
}
Map<String, dynamic> toJson() => {
'Antwort': Antwort
};
getTypeName() => "AbrCountCheckResponse";
TypeContext? context = _ctx;
}
class AbrCountCheckedRequest implements IConvertible
{
String? CryptedLicenseNr;
String? CryptedStamp;
int? AnzahlMandanten;
int? AnzahlAbrechnungen;
int? AnzahlNutzeinheiten;
int? AnzahlArchiv;
AbrCountCheckedRequest({this.CryptedLicenseNr,this.CryptedStamp,this.AnzahlMandanten,this.AnzahlAbrechnungen,this.AnzahlNutzeinheiten,this.AnzahlArchiv});
AbrCountCheckedRequest.fromJson(Map<String, dynamic> json) { fromMap(json); }
fromMap(Map<String, dynamic> json) {
CryptedLicenseNr = json['CryptedLicenseNr'];
CryptedStamp = json['CryptedStamp'];
AnzahlMandanten = json['AnzahlMandanten'];
AnzahlAbrechnungen = json['AnzahlAbrechnungen'];
AnzahlNutzeinheiten = json['AnzahlNutzeinheiten'];
AnzahlArchiv = json['AnzahlArchiv'];
return this;
}
Map<String, dynamic> toJson() => {
'CryptedLicenseNr': CryptedLicenseNr,
'CryptedStamp': CryptedStamp,
'AnzahlMandanten': AnzahlMandanten,
'AnzahlAbrechnungen': AnzahlAbrechnungen,
'AnzahlNutzeinheiten': AnzahlNutzeinheiten,
'AnzahlArchiv': AnzahlArchiv
};
getTypeName() => "AbrCountCheckedRequest";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: '52.142.207.43', types: <String, TypeInfo> {
'AbrCountCheckResponse': TypeInfo(TypeOf.Class, create:() => AbrCountCheckResponse()),
'AbrCountCheckedRequest': TypeInfo(TypeOf.Class, create:() => AbrCountCheckedRequest()),
});
Dart AbrCountCheckedRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/AbrCountCheckedRequest HTTP/1.1
Host: 52.142.207.43
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ecUpdaterLicenseCommModel.AbrCountCheckedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EndianUpdaterLicenser">
<AnzahlAbrechnungen>0</AnzahlAbrechnungen>
<AnzahlArchiv>0</AnzahlArchiv>
<AnzahlMandanten>0</AnzahlMandanten>
<AnzahlNutzeinheiten>0</AnzahlNutzeinheiten>
<CryptedLicenseNr>String</CryptedLicenseNr>
<CryptedStamp>String</CryptedStamp>
</ecUpdaterLicenseCommModel.AbrCountCheckedRequest>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ecUpdaterLicenseCommModel.AbrCountCheckResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EndianUpdaterLicenser"> <Antwort>false</Antwort> </ecUpdaterLicenseCommModel.AbrCountCheckResponse>