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

pro.taskana.task.rest.models.TaskSummaryPagedRepresentationModel Maven / Gradle / Ivy

The newest version!
package pro.taskana.task.rest.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.beans.ConstructorProperties;
import java.util.Collection;
import pro.taskana.common.rest.models.PageMetadata;
import pro.taskana.common.rest.models.PagedRepresentationModel;

public class TaskSummaryPagedRepresentationModel
    extends PagedRepresentationModel {

  @ConstructorProperties({"tasks", "page"})
  public TaskSummaryPagedRepresentationModel(
      Collection content, PageMetadata pageMetadata) {
    super(content, pageMetadata);
  }

  @Schema(name = "tasks", description = "The embedded tasks.")
  @JsonProperty("tasks")
  @Override
  public Collection getContent() {
    return super.getContent();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy