/* Options: Date: 2026-04-04 08:43:24 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: DeleteMedia.* //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.* @Route(Path="/media", Verbs="DELETE") // @Route(Path="/attachments", Verbs="DELETE") open class DeleteMedia : IReturn { /** * Guid of the Media File to be deleted. */ @ApiMember(DataType="Guid", Description="Guid of the Media File to be deleted.", IsRequired=true, Name="MediaFileId") open var MediaFileId:UUID? = null /** * File Name to be deleted. */ @ApiMember(DataType="string", Description="File Name to be deleted.", IsRequired=true, Name="FileName") open var FileName:String? = null /** * Appliance from which media file is to be deleted. */ @ApiMember(DataType="Guid", Description="Appliance from which media file is to be deleted.", IsRequired=true, Name="ApplianceId") open var ApplianceId:UUID? = null /** * Container from which media file is to be deleted. Defaults to 'attachments' container for attachments. */ @ApiMember(DataType="string", Description="Container from which media file is to be deleted. Defaults to 'attachments' container for attachments.", IsRequired=true, Name="ContainerName") open var ContainerName:String? = null /** * Object connected to the attachment being deleted. */ @ApiMember(DataType="Guid", Description="Object connected to the attachment being deleted.", IsRequired=true, Name="ConnectedObjectId") open var ConnectedObjectId:UUID? = null /** * Licensee Id of the Object owner for which primary image is to be uploaded. */ @ApiMember(DataType="Guid", Description="Licensee Id of the Object owner for which primary image is to be uploaded.", IsRequired=true, Name="ConnectedObjectLicenseeId") open var ConnectedObjectLicenseeId:UUID? = null /** * Is the media file being deleted the primary file linked to the object?. */ @ApiMember(DataType="bool", Description="Is the media file being deleted the primary file linked to the object?.", Name="IsPrimary") open var IsPrimary:Boolean? = null companion object { private val responseType = DeleteMediaResponse::class.java } override fun getResponseType(): Any? = DeleteMedia.responseType } open class DeleteMediaResponse { open var ResponseStatus:ResponseStatus? = null }