Class Media
java.lang.Object
de.codebarista.shopware.model.core.Media
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-06-10T11:26:02.541008353+02:00[Europe/Berlin]",
comments="Generator version: 7.5.0")
public class Media
extends Object
Added since version: 6.0.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionMedia()Media(String mimeType, String fileExtension, OffsetDateTime uploadedAt, String fileName, Long fileSize, Object metaData, OffsetDateTime createdAt, OffsetDateTime updatedAt) -
Method Summary
Modifier and TypeMethodDescriptionaddThumbnailsItem(MediaThumbnail thumbnailsItem) customFields(Object customFields) booleangetAlt()Get altGet createdAtGet customFieldsGet fileExtensionGet fileNameGet fileSizeRuntime field, cannot be used as part of the criteria.getId()Get idGet metaDataGet mimeTypegetPath()Get pathGet _privateGet thumbnailsgetTitle()Get titleGet translatedGet updatedAtGet uploadedAtgetUrl()Runtime field, cannot be used as part of the criteria.inthashCode()voidvoidsetCustomFields(Object customFields) voidsetFileName(String fileName) ADDED BY CODEBARISTAvoidsetHasFile(Boolean hasFile) voidvoidvoidsetPrivate(Boolean _private) voidsetThumbnails(List<MediaThumbnail> thumbnails) voidvoidsetTranslated(Object translated) voidthumbnails(List<MediaThumbnail> thumbnails) toString()translated(Object translated)
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_MIME_TYPE
- See Also:
-
JSON_PROPERTY_FILE_EXTENSION
- See Also:
-
JSON_PROPERTY_UPLOADED_AT
- See Also:
-
JSON_PROPERTY_FILE_NAME
- See Also:
-
JSON_PROPERTY_FILE_SIZE
- See Also:
-
JSON_PROPERTY_META_DATA
- See Also:
-
JSON_PROPERTY_ALT
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
JSON_PROPERTY_PATH
- See Also:
-
JSON_PROPERTY_HAS_FILE
- See Also:
-
JSON_PROPERTY_PRIVATE
- See Also:
-
JSON_PROPERTY_CUSTOM_FIELDS
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_UPDATED_AT
- See Also:
-
JSON_PROPERTY_TRANSLATED
- See Also:
-
JSON_PROPERTY_THUMBNAILS
- See Also:
-
-
Constructor Details
-
Media
public Media() -
Media
public Media(String mimeType, String fileExtension, OffsetDateTime uploadedAt, String fileName, Long fileSize, Object metaData, OffsetDateTime createdAt, OffsetDateTime updatedAt)
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
getMimeType
Get mimeType- Returns:
- mimeType
-
getFileExtension
Get fileExtension- Returns:
- fileExtension
-
getUploadedAt
Get uploadedAt- Returns:
- uploadedAt
-
getFileName
Get fileName- Returns:
- fileName
-
setFileName
ADDED BY CODEBARISTA -
getFileSize
Get fileSize- Returns:
- fileSize
-
getMetaData
Get metaData- Returns:
- metaData
-
alt
-
getAlt
Get alt- Returns:
- alt
-
setAlt
-
title
-
getTitle
Get title- Returns:
- title
-
setTitle
-
url
-
getUrl
Runtime field, cannot be used as part of the criteria.- Returns:
- url
-
setUrl
-
path
-
getPath
Get path- Returns:
- path
-
setPath
-
hasFile
-
getHasFile
Runtime field, cannot be used as part of the criteria.- Returns:
- hasFile
-
setHasFile
-
_private
-
getPrivate
Get _private- Returns:
- _private
-
setPrivate
-
customFields
-
getCustomFields
Get customFields- Returns:
- customFields
-
setCustomFields
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
translated
-
getTranslated
Get translated- Returns:
- translated
-
setTranslated
-
thumbnails
-
addThumbnailsItem
-
getThumbnails
Get thumbnails- Returns:
- thumbnails
-
setThumbnails
-
equals
-
hashCode
public int hashCode() -
toString
-