/* Options: Date: 2025-08-05 02:49:16 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: MobileFormatPreviewDto.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; enum ContentLifecycleStatus { Master, Temp, Live, Deleted, PartialTemp, } class MobileFormatPreviewUrlDto implements IConvertible { String? ItemTitle; String? MobileFormatUrl; String? MobileFormatPreviewUrl; String? ErrorMessage; MobileFormatPreviewUrlDto({this.ItemTitle,this.MobileFormatUrl,this.MobileFormatPreviewUrl,this.ErrorMessage}); MobileFormatPreviewUrlDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ItemTitle = json['ItemTitle']; MobileFormatUrl = json['MobileFormatUrl']; MobileFormatPreviewUrl = json['MobileFormatPreviewUrl']; ErrorMessage = json['ErrorMessage']; return this; } Map toJson() => { 'ItemTitle': ItemTitle, 'MobileFormatUrl': MobileFormatUrl, 'MobileFormatPreviewUrl': MobileFormatPreviewUrl, 'ErrorMessage': ErrorMessage }; getTypeName() => "MobileFormatPreviewUrlDto"; TypeContext? context = _ctx; } // @Route("/Sitefinity/mobile-formats/preview", "GET") class MobileFormatPreviewDto implements IReturn, IConvertible, IGet { String? MobileFormatSettingName; String? ContentTypeFullname; String? ProviderName; String? ItemUrlName; ContentLifecycleStatus? Status; String? SiteId; MobileFormatPreviewDto({this.MobileFormatSettingName,this.ContentTypeFullname,this.ProviderName,this.ItemUrlName,this.Status,this.SiteId}); MobileFormatPreviewDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { MobileFormatSettingName = json['MobileFormatSettingName']; ContentTypeFullname = json['ContentTypeFullname']; ProviderName = json['ProviderName']; ItemUrlName = json['ItemUrlName']; Status = JsonConverters.fromJson(json['Status'],'ContentLifecycleStatus',context!); SiteId = json['SiteId']; return this; } Map toJson() => { 'MobileFormatSettingName': MobileFormatSettingName, 'ContentTypeFullname': ContentTypeFullname, 'ProviderName': ProviderName, 'ItemUrlName': ItemUrlName, 'Status': JsonConverters.toJson(Status,'ContentLifecycleStatus',context!), 'SiteId': SiteId }; createResponse() => MobileFormatPreviewUrlDto(); getResponseTypeName() => "MobileFormatPreviewUrlDto"; getTypeName() => "MobileFormatPreviewDto"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'ContentLifecycleStatus': TypeInfo(TypeOf.Enum, enumValues:ContentLifecycleStatus.values), 'MobileFormatPreviewUrlDto': TypeInfo(TypeOf.Class, create:() => MobileFormatPreviewUrlDto()), 'MobileFormatPreviewDto': TypeInfo(TypeOf.Class, create:() => MobileFormatPreviewDto()), });