38 lines
762 B
Java
38 lines
762 B
Java
package org.gcube.common.storagehub.model.items.nodes;
|
|
import org.gcube.common.storagehub.model.annotations.Attribute;
|
|
import org.gcube.common.storagehub.model.annotations.AttributeRootNode;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
|
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;
|
|
|
|
@JsonIgnore
|
|
@Attribute("hl:storageName")
|
|
String managedBy;
|
|
}
|