package me.nithanim.gw2api.v2.api.traits;

import me.nithanim.gw2api.v2.ApiEndpoint;

/**
 * This resource returns information about specific traits which are contained within
 * specializations.
 */
public interface TraitsResource extends ApiEndpoint {
  int[] getOverview();

  Trait get(int id);

  Trait[] get(int[] ids);

  Trait get(int id, String language);

  Trait[] get(int[] ids, String language);
}

package me.nithanim.gw2api.v2.api.traits;

import me.nithanim.gw2api.v2.ApiEndpoint;

/**
 * This resource returns information about specific traits which are contained within
 * specializations.
 */
public interface TraitsResource extends ApiEndpoint {
  int[] getOverview();

  Trait get(int id);

  Trait[] get(int[] ids);

  Trait get(int id, String language);

  Trait[] get(int[] ids, String language);

  Trait[] getAll();

  Trait[] getAll(String language);
}

Enable getAll for traits