java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.AttachmentRef

public class AttachmentRef extends Object
Attachment reference. An attachment complements the description of an element (for instance a product) through video, pictures
  • Constructor Details

    • AttachmentRef

      public AttachmentRef()
  • Method Details

    • id

      public AttachmentRef id(String id)
    • getId

      @NotNull public @NotNull String getId()
      Unique-Identifier for this attachment
      Returns:
      id
    • setId

      public void setId(String id)
    • href

      public AttachmentRef href(String href)
    • getHref

      public String getHref()
      URL serving as reference for the attachment resource
      Returns:
      href
    • setHref

      public void setHref(String href)
    • description

      public AttachmentRef description(String description)
    • getDescription

      public String getDescription()
      A narrative text describing the content of the attachment
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • name

      public AttachmentRef name(String name)
    • getName

      public String getName()
      Name of the related entity.
      Returns:
      name
    • setName

      public void setName(String name)
    • url

      public AttachmentRef url(String url)
    • getUrl

      public String getUrl()
      Link to the attachment media/content
      Returns:
      url
    • setUrl

      public void setUrl(String url)
    • atBaseType

      public AttachmentRef atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      When sub-classing, this defines the super-class
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public AttachmentRef atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • atType

      public AttachmentRef atType(String atType)
    • getAtType

      public String getAtType()
      When sub-classing, this defines the sub-class entity name
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • atReferredType

      public AttachmentRef atReferredType(String atReferredType)
    • getAtReferredType

      public String getAtReferredType()
      The actual type of the target instance when needed for disambiguation.
      Returns:
      atReferredType
    • setAtReferredType

      public void setAtReferredType(String atReferredType)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object