/* Options: Date: 2025-08-05 02:38:50 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: ToggleMobileFormatsContentTypesDto.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class MobileFormatContentTypeDto implements IConvertible { String? ContentTypeDisplayName; String? ContentTypeName; String? ContentTypeFullname; bool? Active; MobileFormatContentTypeDto({this.ContentTypeDisplayName,this.ContentTypeName,this.ContentTypeFullname,this.Active}); MobileFormatContentTypeDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContentTypeDisplayName = json['ContentTypeDisplayName']; ContentTypeName = json['ContentTypeName']; ContentTypeFullname = json['ContentTypeFullname']; Active = json['Active']; return this; } Map toJson() => { 'ContentTypeDisplayName': ContentTypeDisplayName, 'ContentTypeName': ContentTypeName, 'ContentTypeFullname': ContentTypeFullname, 'Active': Active }; getTypeName() => "MobileFormatContentTypeDto"; TypeContext? context = _ctx; } // @Route("/Sitefinity/mobile-formats/content-types/toggle", "PUT") class ToggleMobileFormatsContentTypesDto implements IConvertible, IPut { String? SiteId; List? MobileFormatContentTypes; ToggleMobileFormatsContentTypesDto({this.SiteId,this.MobileFormatContentTypes}); ToggleMobileFormatsContentTypesDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SiteId = json['SiteId']; MobileFormatContentTypes = JsonConverters.fromJson(json['MobileFormatContentTypes'],'List',context!); return this; } Map toJson() => { 'SiteId': SiteId, 'MobileFormatContentTypes': JsonConverters.toJson(MobileFormatContentTypes,'List',context!) }; getTypeName() => "ToggleMobileFormatsContentTypesDto"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'www.asg.com.au', types: { 'MobileFormatContentTypeDto': TypeInfo(TypeOf.Class, create:() => MobileFormatContentTypeDto()), 'ToggleMobileFormatsContentTypesDto': TypeInfo(TypeOf.Class, create:() => ToggleMobileFormatsContentTypesDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), });