Package com.mypurecloud.sdk.v2.model
Class CallToAction
java.lang.Object
com.mypurecloud.sdk.v2.model.CallToAction
- All Implemented Interfaces:
Serializable
CallToAction
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhere the URL should be opened when the user clicks on the call to action button. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetText()getUrl()inthashCode()voidsetTarget(CallToAction.TargetEnum target) voidvoidtarget(CallToAction.TargetEnum target) Where the URL should be opened when the user clicks on the call to action button.Text displayed on the call to action button.toString()URL to open when user clicks on the call to action button.
-
Constructor Details
-
CallToAction
public CallToAction() -
CallToAction
-
-
Method Details
-
text
Text displayed on the call to action button. -
getText
-
setText
-
url
URL to open when user clicks on the call to action button. -
getUrl
-
setUrl
-
target
Where the URL should be opened when the user clicks on the call to action button. -
getTarget
-
setTarget
-
equals
-
hashCode
public int hashCode() -
toString
-