@Generated(value="org.jsonschema2pojo") public class Update extends Activity
The "update" verb indicates that the actor has modified the object. Use of the "update" verb is generally reserved to indicate modifications to existing objects or data such as changing an existing user's profile information.
Constructor and Description |
---|
Update() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
ActivityObject |
getObject()
object
|
ActivityObject |
getTarget()
object
|
String |
getTitle()
Natural-language title or headline for the activity encoded as a single JSON String containing HTML markup.
|
String |
getVerb()
verb
|
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setObject(ActivityObject object)
object
|
void |
setTarget(ActivityObject target)
object
|
void |
setTitle(String title)
Natural-language title or headline for the activity encoded as a single JSON String containing HTML markup.
|
void |
setVerb(String verb)
verb
|
String |
toString() |
Update |
withAdditionalProperty(String name,
Object value) |
Update |
withObject(ActivityObject object) |
Update |
withTarget(ActivityObject target) |
Update |
withTitle(String title) |
Update |
withVerb(String verb) |
getActor, getContent, getGenerator, getIcon, getId, getLinks, getProvider, getPublished, getUpdated, getUrl, setActor, setContent, setGenerator, setIcon, setId, setLinks, setProvider, setPublished, setUpdated, setUrl, withActor, withContent, withGenerator, withIcon, withId, withLinks, withProvider, withPublished, withUpdated, withUrl
@BeanProperty(value="verb") public String getVerb()
Activity
Identifies the action that the activity describes. An activity MUST contain a verb property whose value is a JSON String that is non-empty and matches either the "isegment-nz-nc" or the "IRI" production in [RFC3987]. Note that the use of a relative reference other than a simple name is not allowed. (Required)
@BeanProperty(value="verb") public void setVerb(String verb)
Activity
Identifies the action that the activity describes. An activity MUST contain a verb property whose value is a JSON String that is non-empty and matches either the "isegment-nz-nc" or the "IRI" production in [RFC3987]. Note that the use of a relative reference other than a simple name is not allowed. (Required)
@BeanProperty(value="title") public String getTitle()
Activity
@BeanProperty(value="title") public void setTitle(String title)
Activity
@BeanProperty(value="object") public ActivityObject getObject()
Basic object on the web. The only required property is the id
@BeanProperty(value="object") public void setObject(ActivityObject object)
Basic object on the web. The only required property is the id
public Update withObject(ActivityObject object)
withObject
in class Activity
@BeanProperty(value="target") public ActivityObject getTarget()
Basic object on the web. The only required property is the id
@BeanProperty(value="target") public void setTarget(ActivityObject target)
Basic object on the web. The only required property is the id
public Update withTarget(ActivityObject target)
withTarget
in class Activity
@BeanProperty(name="*") public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in class Activity
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
setAdditionalProperty
in class Activity
public Update withAdditionalProperty(String name, Object value)
withAdditionalProperty
in class Activity
Copyright © 2018 The Apache Software Foundation. All rights reserved.