/*
 *   Copyright (C) 2016 Karumi.
 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 *   Unless required by applicable law or agreed to in writing, software
 *   distributed under the License is distributed on an "AS IS" BASIS,
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *   See the License for the specific language governing permissions and
 *   limitations under the License.
 */

package com.karumi.todoapiclient.dto;


public class TaskDto {

  private final String id;
  private final String userId;
  private final String title;
  private final boolean finished;

  public TaskDto(String id, String userId, String title, boolean finished) {
    this.id = id;
    this.userId = userId;
    this.title = title;
    this.finished = finished;
  }

  public String getId() {
    return id;
  }

  public String getUserId() {
    return userId;
  }

  public String getTitle() {
    return title;
  }

  public boolean isFinished() {
    return finished;
  }
}

@@ -641,16 +641,67 @@
 t.dto;%0A%0A
+import com.google.gson.annotations.SerializedName;%0A
 %0Apublic 
@@ -718,16 +718,38 @@
 Dto %7B%0A%0A 
+ @SerializedName(%22id%22)
  private
@@ -763,24 +763,50 @@
 String id;%0A 
+ @SerializedName(%22userId%22)
  private fin
@@ -824,16 +824,41 @@
 serId;%0A 
+ @SerializedName(%22title%22)
  private
@@ -879,16 +879,44 @@
 title;%0A 
+ @SerializedName(%22finished%22)
  private

Add json parsing to the TaskDto class using gson