/* Options: Date: 2026-04-04 01:03:52 SwiftVersion: 6.0 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: SaveImageAsObjectPrimary.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Updates the specified objects primary image with the specified Images Media File ID. */ // @Route("/json/reply/SaveImageAsObjectPrimary") // @Route("/SaveImageAsObjectPrimary") // @Route("/SaveImageAsObjectPrimary/userprofile") // @Api(Description="Updates the specified objects primary image with the specified Images Media File ID.") public class SaveImageAsObjectPrimary : IReturn, Codable { public typealias Return = ResponseStatus /** * Guid of the object whose primary image details we want to update. */ // @ApiMember(DataType="Guid", Description="Guid of the object whose primary image details we want to update.", IsRequired=true, Name="ObjectId", ParameterType="query") public var objectId:String? /** * Guid of the Media File that contains details of the image we want to be primary. */ // @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") public var primaryImageMediaFileId:String? /** * URL to the full image. */ // @ApiMember(DataType="Guid", Description="URL to the full image.", IsRequired=true, Name="BlobImageURL", ParameterType="query") public var blobImageURL:String? /** * URL to the thumbnail image. */ // @ApiMember(DataType="Guid", Description="URL to the thumbnail image.", IsRequired=true, Name="BlobImageURLThumbnail", ParameterType="query") public var blobImageURLThumbnail:String? required public init(){} }