All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.almworks.jira.structure.api.rest.RestValueResponse Maven / Gradle / Ivy

The newest version!
package com.almworks.jira.structure.api.rest;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;
import java.util.Map;

@XmlRootElement
public final class RestValueResponse {
  @XmlElement
  public List responses;

  @XmlElement
  public Map itemTypes;

  @XmlElement
  public RestVersion itemsVersion;

  @XmlRootElement
  public static class ForestRowValueResponse {
    @XmlElement
    public RestForestSpec forestSpec;

    @XmlElement
    public List rows;

    @XmlElement
    public List data;

    @XmlElement
    public RestVersion forestVersion;

    @XmlElement
    public List inaccessibleRows;
  }

  @XmlRootElement
  public static class AttributeResponseData {
    @XmlElement
    public RestAttributeSpec attribute;

    @XmlElement
    public List values; // given in the same order as rowIds

    @XmlElement
    public String trailMode; // list of ForestProcessingTypes, separated by ","

    @XmlElement
    public List trails; // given in the same order as rowIds, each string is a list of itemIds, serialized by ItemSerializer
  }
}