@Generated(value="org.jsonschema2pojo") public class QuickReplyOption extends Object
Constructor and Description |
---|
QuickReplyOption() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
String |
getDescription()
Optional description text displayed under label text.
|
String |
getLabel()
The text label displayed on the button face.
|
String |
getMetadata()
Metadata that will be sent back in the webhook request.
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setDescription(String description)
Optional description text displayed under label text.
|
void |
setLabel(String label)
The text label displayed on the button face.
|
void |
setMetadata(String metadata)
Metadata that will be sent back in the webhook request.
|
String |
toString() |
QuickReplyOption |
withAdditionalProperty(String name,
Object value) |
QuickReplyOption |
withDescription(String description) |
QuickReplyOption |
withLabel(String label) |
QuickReplyOption |
withMetadata(String metadata) |
@BeanProperty(value="label") public String getLabel()
@BeanProperty(value="label") public void setLabel(String label)
label
- The labelpublic QuickReplyOption withLabel(String label)
@BeanProperty(value="description") public String getDescription()
@BeanProperty(value="description") public void setDescription(String description)
description
- The descriptionpublic QuickReplyOption withDescription(String description)
@BeanProperty(value="metadata") public String getMetadata()
@BeanProperty(value="metadata") public void setMetadata(String metadata)
metadata
- The metadatapublic QuickReplyOption withMetadata(String metadata)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public QuickReplyOption withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.