@Generated(value="org.jsonschema2pojo") public class FlagAsInappropriate extends Activity
Indicates that the actor has flagged the object as being inappropriate for some reason. When using this verb, the context property can be used to provide additional detail about why the object has been flagged.
Constructor and Description |
---|
FlagAsInappropriate() |
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() |
FlagAsInappropriate |
withAdditionalProperty(String name,
Object value) |
FlagAsInappropriate |
withTitle(String title) |
FlagAsInappropriate |
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 FlagAsInappropriate withVerb(String verb)
@BeanProperty(value="title") public String getTitle()
Activity
@BeanProperty(value="title") public void setTitle(String title)
Activity
public FlagAsInappropriate 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 FlagAsInappropriate withAdditionalProperty(String name, Object value)
withAdditionalProperty
in class Activity
Copyright © 2018 The Apache Software Foundation. All rights reserved.