@Generated(value="org.jsonschema2pojo") public class CallToAction extends Object implements Serializable
Constructor and Description |
---|
CallToAction() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
String |
getLabel()
The text that will be displayed to the user on each button.
|
String |
getTcoUrl()
The t.co version of the URL will be returned in a POST response and on the read path (GET requests) only.
|
String |
getType()
Defines the type of button to display.
|
String |
getUrl()
A valid http or https target URL of the button.
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setLabel(String label)
The text that will be displayed to the user on each button.
|
void |
setTcoUrl(String tcoUrl)
The t.co version of the URL will be returned in a POST response and on the read path (GET requests) only.
|
void |
setType(String type)
Defines the type of button to display.
|
void |
setUrl(String url)
A valid http or https target URL of the button.
|
String |
toString() |
CallToAction |
withAdditionalProperty(String name,
Object value) |
CallToAction |
withLabel(String label) |
CallToAction |
withTcoUrl(String tcoUrl) |
CallToAction |
withType(String type) |
CallToAction |
withUrl(String url) |
@BeanProperty(value="type") public String getType()
@BeanProperty(value="type") public void setType(String type)
type
- The typepublic CallToAction withType(String type)
@BeanProperty(value="label") public String getLabel()
@BeanProperty(value="label") public void setLabel(String label)
label
- The labelpublic CallToAction withLabel(String label)
@BeanProperty(value="url") public String getUrl()
@BeanProperty(value="url") public void setUrl(String url)
url
- The urlpublic CallToAction withUrl(String url)
@BeanProperty(value="tco_url") public String getTcoUrl()
@BeanProperty(value="tco_url") public void setTcoUrl(String tcoUrl)
tcoUrl
- The tco_urlpublic CallToAction withTcoUrl(String tcoUrl)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public CallToAction withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.