Class AttachmentRef
java.lang.Object
de.hybris.platform.partytmfwebservices.v1.dto.AttachmentRef
@Validated
@Generated(value="de.hybris.platform.partytmfwebservices.swagger.PartyCodegen",
date="2022-10-21T20:35:34.875Z")
public class AttachmentRef
extends Object
Attachment reference. An attachment complements the description of an element (for instance a product) through video, pictures
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatbaseType(String atbaseType) atreferredType(String atreferredType) atschemaLocation(String atschemaLocation) description(String description) booleanWhen sub-classing, this defines the super-classThe actual type of the target instance when needed for disambiguation.A URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity nameA narrative text describing the content of the attachmentgetHref()URL serving as reference for the attachment resource@NotNull StringgetId()Unique-Identifier for this attachmentgetName()Name of the related entity.getUrl()Link to the attachment media/contentinthashCode()voidsetAtbaseType(String atbaseType) voidsetAtreferredType(String atreferredType) voidsetAtschemaLocation(String atschemaLocation) voidvoidsetDescription(String description) voidvoidvoidvoidtoString()
-
Constructor Details
-
AttachmentRef
public AttachmentRef()
-
-
Method Details
-
id
-
getId
Unique-Identifier for this attachment- Returns:
- id
-
setId
-
href
-
getHref
URL serving as reference for the attachment resource- Returns:
- href
-
setHref
-
description
-
getDescription
A narrative text describing the content of the attachment- Returns:
- description
-
setDescription
-
name
-
getName
Name of the related entity.- Returns:
- name
-
setName
-
url
-
getUrl
Link to the attachment media/content- Returns:
- url
-
setUrl
-
atbaseType
-
getAtbaseType
When sub-classing, this defines the super-class- Returns:
- atbaseType
-
setAtbaseType
-
atschemaLocation
-
getAtschemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atschemaLocation
-
setAtschemaLocation
-
attype
-
getAttype
When sub-classing, this defines the sub-class entity name- Returns:
- attype
-
setAttype
-
atreferredType
-
getAtreferredType
The actual type of the target instance when needed for disambiguation.- Returns:
- atreferredType
-
setAtreferredType
-
equals
-
hashCode
public int hashCode() -
toString
-