/* Options: Date: 2024-11-21 11:54:52 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: LicenseCheckDomain.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; // @Route("/licenses/checkdomain/", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) class LicenseCheckDomain implements IConvertible, IGet { /** * The domain name you want to check */ // @ApiMember(DataType="string", Description="The domain name you want to check", IsRequired=true) String? DomainName; ResponseStatus? ResponseStatus; LicenseCheckDomain({this.DomainName,this.ResponseStatus}); LicenseCheckDomain.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DomainName = json['DomainName']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'DomainName': DomainName, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "LicenseCheckDomain"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'LicenseCheckDomain': TypeInfo(TypeOf.Class, create:() => LicenseCheckDomain()), });