""" Options: Date: 2025-05-04 23:15:31 Version: 8.71 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://team.evovoice.io #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: EnsureActionUrl.* #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 class ActionUrlHttpMethods(str, Enum): GET = 'GET' POST = 'POST' # @Route("/app/ensure-action-url", "POST") # @Api(Description="Ensures that the specified app user endpoint has the action URL mentioned") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class EnsureActionUrl(IReturnVoid, IPost): """ Ensures that the specified app user endpoint has the action URL mentioned """ # @ApiMember(Description="The URL to use") url: Optional[str] = None """ The URL to use """ # @ApiMember(Description="Clear existing action URLs first") clear_existing: bool = False """ Clear existing action URLs first """ # @ApiMember(Description="The HTTP method to use") method: Optional[ActionUrlHttpMethods] = None """ The HTTP method to use """