toggle menu
apollo-kdoc
4.1.1-SNAPSHOT
4.1.1-SNAPSHOT
3.8.2
common
switch theme
search in API
apollo-api
/
com.apollographql.apollo.api
/
ApolloResponse
/
Builder
Builder
class
Builder
<
D
:
Operation.Data
>
Members
Constructors
Builder
Link copied to clipboard
constructor
(
operation
:
Operation
<
D
>
,
requestUuid
:
Uuid
)
Construct a new
Builder
that doesn't contain data, errors nor exception
@
ApolloDeprecatedSince
(
version
=
ApolloDeprecatedSince.Version.v4_0_0
)
constructor
(
operation
:
Operation
<
D
>
,
requestUuid
:
Uuid
,
data
:
D
?
)
Functions
add
Execution
Context
Link copied to clipboard
fun
addExecutionContext
(
executionContext
:
ExecutionContext
)
:
ApolloResponse.Builder
<
D
>
build
Link copied to clipboard
fun
build
(
)
:
ApolloResponse
<
D
>
data
Link copied to clipboard
fun
data
(
data
:
D
?
)
:
ApolloResponse.Builder
<
D
>
errors
Link copied to clipboard
fun
errors
(
errors
:
List
<
Error
>
?
)
:
ApolloResponse.Builder
<
D
>
exception
Link copied to clipboard
fun
exception
(
exception
:
ApolloException
?
)
:
ApolloResponse.Builder
<
D
>
extensions
Link copied to clipboard
fun
extensions
(
extensions
:
Map
<
String
,
Any
?
>
?
)
:
ApolloResponse.Builder
<
D
>
is
Last
Link copied to clipboard
fun
isLast
(
isLast
:
Boolean
)
:
ApolloResponse.Builder
<
D
>
request
Uuid
Link copied to clipboard
fun
requestUuid
(
requestUuid
:
Uuid
)
:
ApolloResponse.Builder
<
D
>