@Generated(value="org.jsonschema2pojo") public class Dislike extends Activity
Indicates that the actor dislikes the object. Note that the "dislike" verb is distinct from the "unlike" verb which assumes that the object had been previously "liked".
Constructor and Description |
---|
Dislike() |
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() |
Dislike |
withAdditionalProperty(String name,
Object value) |
Dislike |
withTitle(String title) |
Dislike |
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)
@BeanProperty(value="title") public String getTitle()
Activity
@BeanProperty(value="title") public void setTitle(String title)
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 Dislike withAdditionalProperty(String name, Object value)
withAdditionalProperty
in class Activity
Copyright © 2018 The Apache Software Foundation. All rights reserved.