/* Options: Date: 2025-08-05 02:49:18 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.asg.com.au/RestApi //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DECSettingsRequestDto.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class DECSettingsDto implements IConvertible { bool? IsDecEnabled; bool? AccessKeyStrategyUsed; String? AuthorizationHeader; String? ApiServerUrl; String? DecAppUrl; String? DataCenterApiKey; String? LicenseType; String? DecAdminBackendPageUrl; List? ContentAnalyticsApiKeys; DECSettingsDto({this.IsDecEnabled,this.AccessKeyStrategyUsed,this.AuthorizationHeader,this.ApiServerUrl,this.DecAppUrl,this.DataCenterApiKey,this.LicenseType,this.DecAdminBackendPageUrl,this.ContentAnalyticsApiKeys}); DECSettingsDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { IsDecEnabled = json['IsDecEnabled']; AccessKeyStrategyUsed = json['AccessKeyStrategyUsed']; AuthorizationHeader = json['AuthorizationHeader']; ApiServerUrl = json['ApiServerUrl']; DecAppUrl = json['DecAppUrl']; DataCenterApiKey = json['DataCenterApiKey']; LicenseType = json['LicenseType']; DecAdminBackendPageUrl = json['DecAdminBackendPageUrl']; ContentAnalyticsApiKeys = JsonConverters.fromJson(json['ContentAnalyticsApiKeys'],'List',context!); return this; } Map toJson() => { 'IsDecEnabled': IsDecEnabled, 'AccessKeyStrategyUsed': AccessKeyStrategyUsed, 'AuthorizationHeader': AuthorizationHeader, 'ApiServerUrl': ApiServerUrl, 'DecAppUrl': DecAppUrl, 'DataCenterApiKey': DataCenterApiKey, 'LicenseType': LicenseType, 'DecAdminBackendPageUrl': DecAdminBackendPageUrl, 'ContentAnalyticsApiKeys': JsonConverters.toJson(ContentAnalyticsApiKeys,'List',context!) }; getTypeName() => "DECSettingsDto"; TypeContext? context = _ctx; } // @Route("/sitefinity/data-intelligence/settings", "GET") class DECSettingsRequestDto implements IReturn, IConvertible, IGet { DECSettingsRequestDto(); DECSettingsRequestDto.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => DECSettingsDto(); getResponseTypeName() => "DECSettingsDto"; getTypeName() => "DECSettingsRequestDto"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'DECSettingsDto': TypeInfo(TypeOf.Class, create:() => DECSettingsDto()), 'DECSettingsRequestDto': TypeInfo(TypeOf.Class, create:() => DECSettingsRequestDto()), });