""" Options: Date: 2025-08-05 01:54: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: UpdateService.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class PropertiesProxy: name: Optional[str] = None property_type: Optional[str] = None is_persistent: bool = False allow_sort: bool = False allow_filter: bool = False is_key: bool = False @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ContentsProxy: name: Optional[str] = None read_only: bool = False url_key: Optional[str] = None clr_type: Optional[str] = None access: Optional[str] = None properties: Optional[List[PropertiesProxy]] = None children: Optional[List[ContentsProxy]] = None autogenerate_properties: bool = False parent_id: Optional[str] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class ServiceBaseRequest: route: Optional[str] = None name: Optional[str] = None url_name: Optional[str] = None enabled: bool = False api_key: Optional[str] = None access_control_allow_origin: Optional[str] = None autogenerate_types: bool = False access: Optional[str] = None types: Optional[List[ContentsProxy]] = None protocol: Optional[str] = None # @Route("/apiservice/updateService/{OldUrlName}", "PUT") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class UpdateService(ServiceBaseRequest): old_url_name: Optional[str] = None