package no.stelar7.api.r4j.pojo.val.content;

import java.io.Serializable;
import java.util.*;

public class ContentItem implements Serializable
{
    private static final long serialVersionUID = 1462032373801535374L;
    
    private String              id;
    private String              name;
    private Map<String, String> localizedNames;
    private String              assetName;
    
    public String getName()
    {
        return name;
    }
    
    public Map<String, String> getLocalizedNames()
    {
        return localizedNames;
    }
    
    public String getAssetName()
    {
        return assetName;
    }
    
    @Override
    public boolean equals(Object o)
    {
        if (this == o)
        {
            return true;
        }
        if (o == null || getClass() != o.getClass())
        {
            return false;
        }
        ContentItem that = (ContentItem) o;
        return Objects.equals(name, that.name) &&
               Objects.equals(localizedNames, that.localizedNames) &&
               Objects.equals(assetName, that.assetName);
    }
    
    @Override
    public int hashCode()
    {
        return Objects.hash(name, localizedNames, assetName);
    }
    
    @Override
    public String toString()
    {
        return "ContentItem{" +
               "name='" + name + '\'' +
               ", localizedNames=" + localizedNames +
               ", assetName='" + assetName + '\'' +
               '}';
    }
}

@@ -390,24 +390,216 @@
 assetName;%0D%0A
+    private String              assetPath;%0D%0A    %0D%0A    public String getId()%0D%0A    %7B%0D%0A        return id;%0D%0A    %7D%0D%0A    %0D%0A    public String getAssetPath()%0D%0A    %7B%0D%0A        return assetPath;%0D%0A    %7D%0D%0A
     %0D%0A    pu
@@ -1134,32 +1134,79 @@
 %0A        return 
+Objects.equals(id, that.id) &&%0D%0A               
 Objects.equals(n
@@ -1344,32 +1344,93 @@
  that.assetName)
+ &&%0D%0A               Objects.equals(assetPath, that.assetPath)
 ;%0D%0A    %7D%0D%0A    %0D%0A
@@ -1506,16 +1506,20 @@
 ts.hash(
+id, 
 name, lo
@@ -1541,16 +1541,27 @@
 ssetName
+, assetPath
 );%0D%0A    
@@ -1670,16 +1670,55 @@
        %22
+id='%22 + id + '%5C'' +%0D%0A               %22, 
 name='%22 
@@ -1834,32 +1834,85 @@
 tName + '%5C'' +%0D%0A
+               %22, assetPath='%22 + assetPath + '%5C'' +%0D%0A
                '

Add asset path