package de.knoobie.project.nagisa.gson.model.dto.json.search;

import com.google.gson.annotations.SerializedName;
import de.knoobie.project.nagisa.gson.model.dto.json.common.Names;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;

public @Data
class ResultArtist {

    private String link;
    
    @SerializedName("titles")
    private Names names;
    
    private List<String> aliases = new ArrayList<>();
}

@@ -58,60 +58,11 @@
 rch;
-%0A%0Aimport com.google.gson.annotations.SerializedName;
+%0D%0A%0D
 %0Aimp
@@ -124,16 +124,17 @@
 n.Names;
+%0D
 %0Aimport 
@@ -149,24 +149,25 @@
 l.ArrayList;
+%0D
 %0Aimport java
@@ -177,16 +177,17 @@
 il.List;
+%0D
 %0Aimport 
@@ -198,17 +198,19 @@
 ok.Data;
-%0A
+%0D%0A%0D
 %0Apublic 
@@ -214,16 +214,17 @@
 ic @Data
+%0D
 %0Aclass R
@@ -236,17 +236,19 @@
 Artist %7B
-%0A
+%0D%0A%0D
 %0A    pri
@@ -268,43 +268,9 @@
 ink;
-%0A    %0A    @SerializedName(%22titles%22)
+%0D
 %0A   
@@ -290,21 +290,23 @@
 s names;
+%0D
 %0A    
+%0D
 %0A    pri
@@ -355,7 +355,9 @@
 %3E();
+%0D
 %0A%7D
+%0D
 %0A

Rename titles to names