Download of CircleCI artifacts to store on the download page.
[SquirrelJME.git] / tools / cicd-release-bundle / src / main / java / cc / squirreljme / cicd / circleci / CircleCiPaginated.java
blobe59e8867db2c05b0d2e0ee2a3e08042f4835b51b
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // Multi-Phasic Applications: SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc.squirreljme.cicd.circleci;
12 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
13 import com.fasterxml.jackson.annotation.JsonProperty;
14 import java.util.List;
15 import lombok.AllArgsConstructor;
16 import lombok.Data;
17 import lombok.EqualsAndHashCode;
18 import lombok.NoArgsConstructor;
19 import lombok.experimental.SuperBuilder;
21 /**
22 * Paginated information.
24 * @param <T> The type of class to store.
25 * @since 2024/10/05
27 @Data
28 @SuperBuilder(toBuilder = true)
29 @JsonIgnoreProperties(ignoreUnknown = true)
30 @NoArgsConstructor
31 @AllArgsConstructor
32 public class CircleCiPaginated<T>
34 /** Workflow jobs. */
35 @JsonProperty("items")
36 List<T> items;
38 /** Next page token. */
39 @JsonProperty("next_page_token")
40 String nextPageToken;