toggle menu
IDentity-SDK
androidJvm
switch theme
search in API
IDentity-SDK
/
com.idmission.sdk2.client.model
/
Response
/
Builder
Builder
public
final
class
Builder
<
T
extends
Object
>
Members
Constructors
Response.
Builder
Link copied to clipboard
public
Response.Builder
<
T
>
Response.Builder
<
T
extends
Any
>
(
Context
context
,
T
result
,
StatusData
errorStatus
)
Properties
context
Link copied to clipboard
private
Context
context
error
Status
Link copied to clipboard
private
StatusData
errorStatus
result
Link copied to clipboard
private
T
result
Functions
append
To
Error
Status
Message
Link copied to clipboard
public
final
Response.Builder
<
T
>
appendToErrorStatusMessage
(
String
additionalMessage
)
build
Link copied to clipboard
public
final
Response
<
T
>
build
(
)
from
Error
Response
Type
Link copied to clipboard
public
final
Response.Builder
<
T
>
fromErrorResponseType
(
ErrorResponseType
errorResponseType
)
from
Error
Status
Code
Link copied to clipboard
public
final
Response.Builder
<
T
>
fromErrorStatusCode
(
Integer
statusCode
)
from
Response
Link copied to clipboard
public
final
Response.Builder
<
T
>
fromResponse
(
Response
<
T
>
response
)
from
Success
Response
Type
Link copied to clipboard
public
final
Response.Builder
<
T
>
fromSuccessResponseType
(
SuccessResponseType
successResponseType
)
get
Context
Link copied to clipboard
public
final
Context
getContext
(
)
get
Error
Status
Link copied to clipboard
public
final
StatusData
getErrorStatus
(
)
get
Result
Link copied to clipboard
public
final
T
getResult
(
)
result
Link copied to clipboard
public
final
Response.Builder
<
T
>
result
(
T
result
)
set
Context
Link copied to clipboard
public
final
Unit
setContext
(
Context
context
)
set
Error
Status
Link copied to clipboard
public
final
Unit
setErrorStatus
(
StatusData
errorStatus
)
set
Result
Link copied to clipboard
public
final
Unit
setResult
(
T
result
)