@Generated(value="org.jsonschema2pojo") public class UserstreamEvent extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
UserstreamEvent.EventType |
Constructor and Description |
---|
UserstreamEvent() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
org.joda.time.DateTime |
getCreatedAt() |
UserstreamEvent.EventType |
getEventType() |
String |
getSource() |
String |
getTarget() |
TargetObject |
getTargetObject() |
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setCreatedAt(org.joda.time.DateTime createdAt) |
void |
setEventType(UserstreamEvent.EventType eventType) |
void |
setSource(String source) |
void |
setTarget(String target) |
void |
setTargetObject(TargetObject targetObject) |
String |
toString() |
UserstreamEvent |
withAdditionalProperty(String name,
Object value) |
UserstreamEvent |
withCreatedAt(org.joda.time.DateTime createdAt) |
UserstreamEvent |
withEventType(UserstreamEvent.EventType eventType) |
UserstreamEvent |
withSource(String source) |
UserstreamEvent |
withTarget(String target) |
UserstreamEvent |
withTargetObject(TargetObject targetObject) |
@BeanProperty(value="created_at") public org.joda.time.DateTime getCreatedAt()
@BeanProperty(value="created_at") public void setCreatedAt(org.joda.time.DateTime createdAt)
createdAt
- The created_atpublic UserstreamEvent withCreatedAt(org.joda.time.DateTime createdAt)
@BeanProperty(value="event_type") public UserstreamEvent.EventType getEventType()
@BeanProperty(value="event_type") public void setEventType(UserstreamEvent.EventType eventType)
eventType
- The event_typepublic UserstreamEvent withEventType(UserstreamEvent.EventType eventType)
@BeanProperty(value="source") public String getSource()
@BeanProperty(value="source") public void setSource(String source)
source
- The sourcepublic UserstreamEvent withSource(String source)
@BeanProperty(value="target") public String getTarget()
@BeanProperty(value="target") public void setTarget(String target)
target
- The targetpublic UserstreamEvent withTarget(String target)
@BeanProperty(value="target_object") public TargetObject getTargetObject()
@BeanProperty(value="target_object") public void setTargetObject(TargetObject targetObject)
targetObject
- The target_objectpublic UserstreamEvent withTargetObject(TargetObject targetObject)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public UserstreamEvent withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.