public class GenericTemplatePayload extends TemplateBasePayload
templateType| Constructor and Description |
|---|
GenericTemplatePayload()
Instantiates a new GenericTemplatePayload.
|
GenericTemplatePayload(List<GenericTemplateElement> elements)
Instantiates a new GenericTemplatePayload.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addElement(GenericTemplateElement element)
Adds the element.
|
boolean |
equals(Object obj) |
List<GenericTemplateElement> |
getElements()
Gets the
elements. |
int |
hashCode() |
void |
setElements(List<GenericTemplateElement> elements)
Sets the
elements. |
String |
toString() |
getTemplateType, setTemplateTypepublic GenericTemplatePayload()
public GenericTemplatePayload(List<GenericTemplateElement> elements)
elements - the elements.public List<GenericTemplateElement> getElements()
elements.elements.public void setElements(List<GenericTemplateElement> elements)
elements.elements - the elements to set.public void addElement(GenericTemplateElement element)
element - the element to add.public int hashCode()
hashCode in class TemplateBasePayloadpublic boolean equals(Object obj)
equals in class TemplateBasePayloadpublic String toString()
toString in class TemplateBasePayloadCopyright © 2017 BotMill. All rights reserved.