""" Options: Date: 2026-04-04 02:56:27 Version: 8.52 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: SaveObjectConnection.* #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 # @ApiResponse(Description="Returns the object connection Id created/modified and success of the save.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SaveObjectConnectionResponse: object_connection_id: Optional[str] = None response_status: Optional[ResponseStatus] = None # @Route("/objects/{FromObjectId}/{ToObjectId}/{RmsTableCtxIdConnectionMethod}", "POST") # @Api(Description="Creates or Updates a new connection between two objects.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SaveObjectConnection(IReturn[SaveObjectConnectionResponse]): """ Creates or Updates a new connection between two objects. """ # @ApiMember(DataType="Guid", Description="'From' object ID in the connection.", IsRequired=true, Name="FromObjectId", ParameterType="query") from_object_id: Optional[str] = None """ 'From' object ID in the connection. """ # @ApiMember(DataType="Guid", Description="'To' object ID in the connection.", IsRequired=true, Name="ToObjectId", ParameterType="query") to_object_id: Optional[str] = None """ 'To' object ID in the connection. """ # @ApiMember(DataType="Guid", Description="Guid representing the Connection Method to use to connect the objects with.", IsRequired=true, Name="RmsTableCtxIdConnectionMethod", ParameterType="query") rms_table_ctx_id_connection_method: Optional[str] = None """ Guid representing the Connection Method to use to connect the objects with. """