toggle menu
openai-kotlin
common
switch theme
search in API
openai-core
/
com.aallam.openai.api.core
/
PaginatedList
Paginated
List
@
Serializable
data
class
PaginatedList
<
T
>
(
val
data
:
List
<
T
>
,
val
hasMore
:
Boolean
?
=
null
,
val
firstId
:
String
?
=
null
,
val
lastId
:
String
?
=
null
)
:
List
<
T
>
Members
Constructors
Paginated
List
Link copied to clipboard
constructor
(
data
:
List
<
T
>
,
hasMore
:
Boolean
?
=
null
,
firstId
:
String
?
=
null
,
lastId
:
String
?
=
null
)
Properties
data
Link copied to clipboard
@
SerialName
(
value
=
"data"
)
val
data
:
List
<
T
>
first
Id
Link copied to clipboard
@
SerialName
(
value
=
"first_id"
)
val
firstId
:
String
?
=
null
has
More
Link copied to clipboard
@
SerialName
(
value
=
"has_more"
)
val
hasMore
:
Boolean
?
=
null
last
Id
Link copied to clipboard
@
SerialName
(
value
=
"last_id"
)
val
lastId
:
String
?
=
null
size
Link copied to clipboard
open
override
val
size
:
Int
Functions
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
T
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
elements
:
Collection
<
T
>
)
:
Boolean
get
Link copied to clipboard
open
operator override
fun
get
(
index
:
Int
)
:
T
index
Of
Link copied to clipboard
open
override
fun
indexOf
(
element
:
T
)
:
Int
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
T
>
last
Index
Of
Link copied to clipboard
open
override
fun
lastIndexOf
(
element
:
T
)
:
Int
list
Iterator
Link copied to clipboard
open
override
fun
listIterator
(
)
:
ListIterator
<
T
>
open
override
fun
listIterator
(
index
:
Int
)
:
ListIterator
<
T
>
sub
List
Link copied to clipboard
open
override
fun
subList
(
fromIndex
:
Int
,
toIndex
:
Int
)
:
List
<
T
>