""" Options: Date: 2026-04-04 02:55:58 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: SaveImageAsObjectPrimary.* #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 # @Route("/json/reply/SaveImageAsObjectPrimary") # @Route("/SaveImageAsObjectPrimary") # @Route("/SaveImageAsObjectPrimary/userprofile") # @Api(Description="Updates the specified objects primary image with the specified Images Media File ID.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SaveImageAsObjectPrimary(IReturn[ResponseStatus]): """ Updates the specified objects primary image with the specified Images Media File ID. """ # @ApiMember(DataType="Guid", Description="Guid of the object whose primary image details we want to update.", IsRequired=true, Name="ObjectId", ParameterType="query") object_id: Optional[str] = None """ Guid of the object whose primary image details we want to update. """ # @ApiMember(DataType="Guid", Description="Guid of the Media File that contains details of the image we want to be primary.", IsRequired=true, Name="PrimaryImageMediaFileId", ParameterType="query") primary_image_media_file_id: Optional[str] = None """ Guid of the Media File that contains details of the image we want to be primary. """ # @ApiMember(DataType="Guid", Description="URL to the full image.", IsRequired=true, Name="BlobImageURL", ParameterType="query") blob_image_u_r_l: Optional[str] = None """ URL to the full image. """ # @ApiMember(DataType="Guid", Description="URL to the thumbnail image.", IsRequired=true, Name="BlobImageURLThumbnail", ParameterType="query") blob_image_u_r_l_thumbnail: Optional[str] = None """ URL to the thumbnail image. """