java.lang.Object
de.hybris.platform.agreementtmfwebservices.v1.dto.AttachmentRef

@Validated @Generated(value="de.hybris.platform.agreementtmfwebservices.swagger.AgreementsCodegen", date="2022-10-21T20:35:12.178Z") 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