public class ConfirmationOptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfirmationOptions.Builder
Class to build instances of
ConfirmationOptions. |
| Modifier | Constructor and Description |
|---|---|
protected |
ConfirmationOptions(String title,
String body,
String agreeButtonText,
io.apimatic.core.types.OptionalNullable<String> disagreeButtonText,
ConfirmationDecision decision)
Internal initialization constructor.
|
|
ConfirmationOptions(String title,
String body,
String agreeButtonText,
String disagreeButtonText,
ConfirmationDecision decision)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAgreeButtonText()
Getter for AgreeButtonText.
|
String |
getBody()
Getter for Body.
|
ConfirmationDecision |
getDecision()
Getter for Decision.
|
String |
getDisagreeButtonText()
Getter for DisagreeButtonText.
|
String |
getTitle()
Getter for Title.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetDisagreeButtonText()
Internal Getter for DisagreeButtonText.
|
ConfirmationOptions.Builder |
toBuilder()
Builds a new
ConfirmationOptions.Builder object. |
String |
toString()
Converts this ConfirmationOptions into string format.
|
public ConfirmationOptions(String title, String body, String agreeButtonText, String disagreeButtonText, ConfirmationDecision decision)
title - String value for title.body - String value for body.agreeButtonText - String value for agreeButtonText.disagreeButtonText - String value for disagreeButtonText.decision - ConfirmationDecision value for decision.protected ConfirmationOptions(String title, String body, String agreeButtonText, io.apimatic.core.types.OptionalNullable<String> disagreeButtonText, ConfirmationDecision decision)
public String getTitle()
public String getBody()
public String getAgreeButtonText()
protected io.apimatic.core.types.OptionalNullable<String> internalGetDisagreeButtonText()
public String getDisagreeButtonText()
public ConfirmationDecision getDecision()
public String toString()
public ConfirmationOptions.Builder toBuilder()
ConfirmationOptions.Builder object.
Creates the instance with the state of the current model.ConfirmationOptions.Builder objectCopyright © 2023. All rights reserved.