Class Attachment
java.lang.Object
de.hybris.platform.partytmfwebservices.v1.dto.Attachment
@Validated
@Generated(value="de.hybris.platform.partytmfwebservices.swagger.PartyCodegen",
date="2022-10-21T20:35:34.875Z")
public class Attachment
extends Object
Complements the description of an element (for instance a product) through video, pictures...
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatbaseType(String atbaseType) atschemaLocation(String atschemaLocation) attachmentType(String attachmentType) description(String description) booleanWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsAttachment type such as video, pictureWhen sub-classing, this defines the sub-class entity nameThe actual contents of the attachment object, if embedded, encoded as base64A narrative text describing the content of the attachmentgetHref()URI for this AttachmentgetId()Unique identifier for this particular attachmentAttachment mime type such as extension file for video, picture and documentgetName()The name of the attachment@Valid QuantitygetSize()The size of the attachment.getUrl()Uniform Resource Locator, is a web page address (a subset of URI)@Valid TimePeriodThe period of time for which the attachment is validinthashCode()voidsetAtbaseType(String atbaseType) voidsetAtschemaLocation(String atschemaLocation) voidsetAttachmentType(String attachmentType) voidvoidsetContent(String content) voidsetDescription(String description) voidvoidvoidsetMimeType(String mimeType) voidvoidvoidvoidsetValidFor(TimePeriod validFor) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
Attachment
public Attachment()
-
-
Method Details
-
id
-
getId
Unique identifier for this particular attachment- Returns:
- id
-
setId
-
href
-
getHref
URI for this Attachment- Returns:
- href
-
setHref
-
attachmentType
-
getAttachmentType
Attachment type such as video, picture- Returns:
- attachmentType
-
setAttachmentType
-
content
-
getContent
The actual contents of the attachment object, if embedded, encoded as base64- Returns:
- content
-
setContent
-
description
-
getDescription
A narrative text describing the content of the attachment- Returns:
- description
-
setDescription
-
mimeType
-
getMimeType
Attachment mime type such as extension file for video, picture and document- Returns:
- mimeType
-
setMimeType
-
name
-
getName
The name of the attachment- Returns:
- name
-
setName
-
url
-
getUrl
Uniform Resource Locator, is a web page address (a subset of URI)- Returns:
- url
-
setUrl
-
size
-
getSize
The size of the attachment.- Returns:
- size
-
setSize
-
validFor
-
getValidFor
The period of time for which the attachment is valid- Returns:
- validFor
-
setValidFor
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-