2018-02-15 18:14:30 +01:00
|
|
|
package org.gcube.common.storagehub.model.items.nodes;
|
2021-04-14 15:43:09 +02:00
|
|
|
import org.gcube.common.storagehub.model.annotations.Attribute;
|
|
|
|
import org.gcube.common.storagehub.model.annotations.AttributeRootNode;
|
|
|
|
|
2021-09-28 13:09:12 +02:00
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
|
|
2018-02-15 18:14:30 +01:00
|
|
|
import lombok.AllArgsConstructor;
|
|
|
|
import lombok.Getter;
|
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import lombok.Setter;
|
|
|
|
|
|
|
|
@Getter
|
|
|
|
@Setter
|
|
|
|
@NoArgsConstructor
|
|
|
|
@AllArgsConstructor
|
|
|
|
@AttributeRootNode(value="nthl:file")
|
|
|
|
public class Content {
|
|
|
|
|
|
|
|
@Attribute("hl:size")
|
|
|
|
Long size;
|
|
|
|
|
|
|
|
@Attribute("jcr:data")
|
|
|
|
String data;
|
|
|
|
|
|
|
|
@Attribute("hl:remotePath")
|
|
|
|
String remotePath;
|
|
|
|
|
|
|
|
@Attribute("jcr:mimeType")
|
|
|
|
String mimeType;
|
|
|
|
|
|
|
|
@Attribute("hl:storageId")
|
|
|
|
String storageId;
|
2018-05-23 15:31:42 +02:00
|
|
|
|
2021-09-28 13:09:12 +02:00
|
|
|
@JsonIgnore
|
2021-04-14 15:43:09 +02:00
|
|
|
@Attribute("hl:storageName")
|
|
|
|
String managedBy;
|
2018-02-15 18:14:30 +01:00
|
|
|
}
|