@Generated(value="org.jsonschema2pojo") public class Experience extends Activity
Indicates that the actor has experienced the object in some manner. Note that, depending on the specific object types used for both the actor and object, the meaning of this verb can overlap that of the "consume" and "play" verbs. For instance, a person might "experience" a movie; or "play" the movie; or "consume" the movie. The "experience" verb can be considered a more generic form of other more specific verbs as "consume", "play", "watch", "listen", and "read"
Constructor and Description |
---|
Experience() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
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 |
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() |
Experience |
withAdditionalProperty(String name,
Object value) |
Experience |
withTitle(String title) |
Experience |
withVerb(String verb) |
getActor, getContent, getGenerator, getIcon, getId, getLinks, getObject, getProvider, getPublished, getTarget, getUpdated, getUrl, setActor, setContent, setGenerator, setIcon, setId, setLinks, setObject, setProvider, setPublished, setTarget, setUpdated, setUrl, withActor, withContent, withGenerator, withIcon, withId, withLinks, withObject, withProvider, withPublished, withTarget, 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)
public Experience withVerb(String verb)
@BeanProperty(value="title") public String getTitle()
Activity
@BeanProperty(value="title") public void setTitle(String title)
Activity
public Experience withTitle(String title)
@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 Experience withAdditionalProperty(String name, Object value)
withAdditionalProperty
in class Activity
Copyright © 2018 The Apache Software Foundation. All rights reserved.