package sonia.scm.api.v2.resources;

import de.otto.edison.hal.Embedded;
import de.otto.edison.hal.HalRepresentation;
import de.otto.edison.hal.Links;
import lombok.Getter;
import lombok.Setter;

@Getter @Setter
class CollectionDto extends HalRepresentation {

  private int page;
  private int pageTotal;

  CollectionDto(Links links, Embedded embedded) {
    super(links, embedded);
  }

  @Override
  protected HalRepresentation withEmbedded(String rel, HalRepresentation embeddedItem) {
    return super.withEmbedded(rel, embeddedItem);
  }
}
