/* Options: Date: 2026-04-04 04:54:40 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SaveImageAsObjectPrimary.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * Updates the specified objects primary image with the specified Images Media File ID. */ @Route(Path="/json/reply/SaveImageAsObjectPrimary") // @Route(Path="/SaveImageAsObjectPrimary") // @Route(Path="/SaveImageAsObjectPrimary/userprofile") @Api(Description="Updates the specified objects primary image with the specified Images Media File ID.") open class SaveImageAsObjectPrimary : IReturn { /** * 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") open var ObjectId:UUID? = null /** * 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") open var PrimaryImageMediaFileId:UUID? = null /** * URL to the full image. */ @ApiMember(DataType="Guid", Description="URL to the full image.", IsRequired=true, Name="BlobImageURL", ParameterType="query") open var BlobImageURL:String? = null /** * URL to the thumbnail image. */ @ApiMember(DataType="Guid", Description="URL to the thumbnail image.", IsRequired=true, Name="BlobImageURLThumbnail", ParameterType="query") open var BlobImageURLThumbnail:String? = null companion object { private val responseType = ResponseStatus::class.java } override fun getResponseType(): Any? = SaveImageAsObjectPrimary.responseType } @DataContract open class ResponseStatus { @DataMember(Order=1) open var ErrorCode:String? = null @DataMember(Order=2) open var Message:String? = null @DataMember(Order=3) open var StackTrace:String? = null @DataMember(Order=4) open var Errors:ArrayList? = null @DataMember(Order=5) open var Meta:HashMap? = null }