@Generated(value="org.jsonschema2pojo") public class DirectMessageEvent extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DirectMessageEvent.Type |
Constructor and Description |
---|
DirectMessageEvent() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
String |
getCreatedTimestamp() |
String |
getId() |
InitiatedVia |
getInitiatedVia() |
MessageCreate |
getMessageCreate() |
DirectMessageEvent.Type |
getType() |
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setCreatedTimestamp(String createdTimestamp) |
void |
setId(String id) |
void |
setInitiatedVia(InitiatedVia initiatedVia) |
void |
setMessageCreate(MessageCreate messageCreate) |
void |
setType(DirectMessageEvent.Type type) |
String |
toString() |
DirectMessageEvent |
withAdditionalProperty(String name,
Object value) |
DirectMessageEvent |
withCreatedTimestamp(String createdTimestamp) |
DirectMessageEvent |
withId(String id) |
DirectMessageEvent |
withInitiatedVia(InitiatedVia initiatedVia) |
DirectMessageEvent |
withMessageCreate(MessageCreate messageCreate) |
DirectMessageEvent |
withType(DirectMessageEvent.Type type) |
@BeanProperty(value="id") public String getId()
@BeanProperty(value="id") public void setId(String id)
id
- The idpublic DirectMessageEvent withId(String id)
@BeanProperty(value="created_timestamp") public String getCreatedTimestamp()
@BeanProperty(value="created_timestamp") public void setCreatedTimestamp(String createdTimestamp)
createdTimestamp
- The created_timestamppublic DirectMessageEvent withCreatedTimestamp(String createdTimestamp)
@BeanProperty(value="type") public DirectMessageEvent.Type getType()
@BeanProperty(value="type") public void setType(DirectMessageEvent.Type type)
type
- The typepublic DirectMessageEvent withType(DirectMessageEvent.Type type)
@BeanProperty(value="initiated_via") public InitiatedVia getInitiatedVia()
@BeanProperty(value="initiated_via") public void setInitiatedVia(InitiatedVia initiatedVia)
initiatedVia
- The initiated_viapublic DirectMessageEvent withInitiatedVia(InitiatedVia initiatedVia)
@BeanProperty(value="message_create") public MessageCreate getMessageCreate()
@BeanProperty(value="message_create") public void setMessageCreate(MessageCreate messageCreate)
messageCreate
- The message_createpublic DirectMessageEvent withMessageCreate(MessageCreate messageCreate)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public DirectMessageEvent withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.