/**
 * ARTIK Cloud API
 * No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: 2.0.0
 * 
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 *
 * 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 cloud.artik.model;

import java.util.Objects;
import cloud.artik.model.Task;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;


/**
 * 
 */
@ApiModel(description = "")

public class TaskList   {
  @SerializedName("task")
  private List<Task> task = new ArrayList<Task>();

  public TaskList task(List<Task> task) {
    this.task = task;
    return this;
  }

  public TaskList addTaskItem(Task taskItem) {
    this.task.add(taskItem);
    return this;
  }

   /**
   * Task list
   * @return task
  **/
  @ApiModelProperty(example = "null", value = "Task list")
  public List<Task> getTask() {
    return task;
  }

  public void setTask(List<Task> task) {
    this.task = task;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    TaskList taskList = (TaskList) o;
    return Objects.equals(this.task, taskList.task);
  }

  @Override
  public int hashCode() {
    return Objects.hash(task);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class TaskList {\n");
    
    sb.append("    task: ").append(toIndentedString(task)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}


@@ -1254,16 +1254,17 @@
 me(%22task
+s
 %22)%0A  pri
@@ -1283,16 +1283,17 @@
 sk%3E task
+s
  = new A
@@ -1333,16 +1333,17 @@
 ist task
+s
 (List%3CTa
@@ -1342,32 +1342,33 @@
 (List%3CTask%3E task
+s
 ) %7B%0A    this.tas
@@ -1364,31 +1364,33 @@
    this.task
+s
  = task
+s
 ;%0A    return
@@ -1461,16 +1461,17 @@
 his.task
+s
 .add(tas
@@ -1648,24 +1648,25 @@
  return task
+s
 ;%0A  %7D%0A%0A  pub
@@ -1697,16 +1697,17 @@
 sk%3E task
+s
 ) %7B%0A    
@@ -1715,23 +1715,25 @@
 his.task
+s
  = task
+s
 ;%0A  %7D%0A%0A%0A
@@ -1986,16 +1986,17 @@
 his.task
+s
 , taskLi
@@ -1998,24 +1998,25 @@
 askList.task
+s
 );%0A  %7D%0A%0A  @O
@@ -2077,16 +2077,17 @@
 ash(task
+s
 );%0A  %7D%0A%0A
@@ -2236,16 +2236,17 @@
     task
+s
 : %22).app
@@ -2270,16 +2270,17 @@
 ing(task
+s
 )).appen

Fix TaskList tasks