Class DetailedFormFileResource
- java.lang.Object
-
- de.xima.fc.api.rest.pub.client.form.model.DetailedFormFileResource
-
- All Implemented Interfaces:
Serializable
@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator") public class DetailedFormFileResource extends Object implements SerializableDetailed model of a file attached to a form.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CREATED_TIMESTAMPstatic StringJSON_PROPERTY_FILE_NAMEstatic StringJSON_PROPERTY_FILE_SIZEstatic StringJSON_PROPERTY_FORMstatic StringJSON_PROPERTY_LINKSstatic StringJSON_PROPERTY_MIME_TYPEstatic StringJSON_PROPERTY_MODIFIED_TIMESTAMPstatic StringJSON_PROPERTY_UUID
-
Constructor Summary
Constructors Constructor Description DetailedFormFileResource()Creates a new empty model with no data yet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetailedFormFileResourcecreatedTimestamp(OffsetDateTime createdTimestamp)Creates a new model with the given enum and no other data.booleanequals(Object o)DetailedFormFileResourcefileName(String fileName)Creates a new model with the given enum and no other data.DetailedFormFileResourcefileSize(Integer fileSize)Creates a new model with the given enum and no other data.DetailedFormFileResourceform(PublicResourceReferenceProjekt form)Creates a new model with the given enum and no other data.OffsetDateTimegetCreatedTimestamp()Get createdTimestampStringgetFileName()Get fileNameIntegergetFileSize()Get fileSizePublicResourceReferenceProjektgetForm()Get formMap<String,String>getLinks()Get linksStringgetMimeType()Get mimeTypeOffsetDateTimegetModifiedTimestamp()Get modifiedTimestampUUIDgetUuid()Get uuidinthashCode()DetailedFormFileResourcelinks(Map<String,String> links)Creates a new model with the given enum and no other data.DetailedFormFileResourcemimeType(String mimeType)Creates a new model with the given enum and no other data.DetailedFormFileResourcemodifiedTimestamp(OffsetDateTime modifiedTimestamp)Creates a new model with the given enum and no other data.DetailedFormFileResourceputLinksItem(String key, String linksItem)Adds an entry to the existing set of entries.voidsetCreatedTimestamp(OffsetDateTime createdTimestamp)voidsetFileName(String fileName)voidsetFileSize(Integer fileSize)voidsetForm(PublicResourceReferenceProjekt form)voidsetLinks(Map<String,String> links)voidsetMimeType(String mimeType)voidsetModifiedTimestamp(OffsetDateTime modifiedTimestamp)voidsetUuid(UUID uuid)StringtoString()DetailedFormFileResourceuuid(UUID uuid)Creates a new model with the given enum and no other data.
-
-
-
Field Detail
-
JSON_PROPERTY_LINKS
public static final String JSON_PROPERTY_LINKS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_TIMESTAMP
public static final String JSON_PROPERTY_CREATED_TIMESTAMP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FILE_NAME
public static final String JSON_PROPERTY_FILE_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FILE_SIZE
public static final String JSON_PROPERTY_FILE_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FORM
public static final String JSON_PROPERTY_FORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MIME_TYPE
public static final String JSON_PROPERTY_MIME_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MODIFIED_TIMESTAMP
public static final String JSON_PROPERTY_MODIFIED_TIMESTAMP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UUID
public static final String JSON_PROPERTY_UUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
links
public DetailedFormFileResource links(Map<String,String> links)
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
-
putLinksItem
public DetailedFormFileResource putLinksItem(String key, String linksItem)
Adds an entry to the existing set of entries. If an entry exists for the given key already, it is overwritten.- Parameters:
key- Object key at which to add an entry.linksItem- New value for the entry at the given key.- Returns:
- This instance for chaining method calls.
-
createdTimestamp
public DetailedFormFileResource createdTimestamp(OffsetDateTime createdTimestamp)
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
-
getCreatedTimestamp
@Nullable public OffsetDateTime getCreatedTimestamp()
Get createdTimestamp- Returns:
- createdTimestamp
-
setCreatedTimestamp
public void setCreatedTimestamp(OffsetDateTime createdTimestamp)
-
fileName
public DetailedFormFileResource fileName(String fileName)
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
-
getFileName
@Nullable public String getFileName()
Get fileName- Returns:
- fileName
-
setFileName
public void setFileName(String fileName)
-
fileSize
public DetailedFormFileResource fileSize(Integer fileSize)
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
-
getFileSize
@Nullable public Integer getFileSize()
Get fileSize- Returns:
- fileSize
-
setFileSize
public void setFileSize(Integer fileSize)
-
form
public DetailedFormFileResource form(PublicResourceReferenceProjekt form)
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
-
getForm
@Nullable public PublicResourceReferenceProjekt getForm()
Get form- Returns:
- form
-
setForm
public void setForm(PublicResourceReferenceProjekt form)
-
mimeType
public DetailedFormFileResource mimeType(String mimeType)
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
-
getMimeType
@Nullable public String getMimeType()
Get mimeType- Returns:
- mimeType
-
setMimeType
public void setMimeType(String mimeType)
-
modifiedTimestamp
public DetailedFormFileResource modifiedTimestamp(OffsetDateTime modifiedTimestamp)
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
-
getModifiedTimestamp
@Nullable public OffsetDateTime getModifiedTimestamp()
Get modifiedTimestamp- Returns:
- modifiedTimestamp
-
setModifiedTimestamp
public void setModifiedTimestamp(OffsetDateTime modifiedTimestamp)
-
uuid
public DetailedFormFileResource uuid(UUID uuid)
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
-
getUuid
@Nullable public UUID getUuid()
Get uuid- Returns:
- uuid
-
setUuid
public void setUuid(UUID uuid)
-
-