Interface Attachment

All Superinterfaces:
Entity, Resource, Serializable

public interface Attachment extends Resource
Represents an attachment
  • Method Details Link icon

    • getBaseResource Link icon

      ResourceReference getBaseResource()
      Returns the reference to the base resource (resourceDiscriminator: "Community", "Domain", "User", "Asset", "Role", "ValidationRule", "Workflow") the file is attached to.
      Returns:
      the reference to the base resource the file is attached to
    • getFile Link icon

      FileReference getFile()
      Returns the reference to the file contained by this attachment.
      Returns:
      the reference to the file contained by this attachment