package api.teams;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.ArrayList;
import java.util.List;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Teams {

    private List<Team> teams = new ArrayList<>();

    public List<Team> getTeams() {
        return teams;
    }

    public void setTeams(List<Team> teams) {
        this.teams = teams;
    }

    @Override
    public String toString() {
        return "Teams{" +
                "teams=" + teams +
                '}';
    }
}

@@ -245,16 +245,150 @@
 t%3C%3E();%0A%0A
+    @Override%0A    public String toString() %7B%0A        return %22Teams%7B%22 +%0A                %22teams=%22 + teams +%0A                '%7D';%0A    %7D%0A%0A
     publ
@@ -527,139 +527,7 @@
  %7D%0A%0A
-    @Override%0A    public String toString() %7B%0A        return %22Teams%7B%22 +%0A                %22teams=%22 + teams +%0A                '%7D';%0A    %7D
 %0A%7D%0A

Rearrange Teams functions.