@Generated(value="org.jsonschema2pojo") public class Review extends Article
Constructor and Description |
---|
Review() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
String |
getObjectType()
Identifies the type of object.
|
Double |
getRating() |
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setObjectType(String objectType)
Identifies the type of object.
|
void |
setRating(Double rating) |
String |
toString() |
Review |
withAdditionalProperty(String name,
Object value) |
Review |
withObjectType(String objectType) |
Review |
withRating(Double rating) |
getAttachments, getAuthor, getContent, getDisplayName, getDownstreamDuplicates, getId, getImage, getPublished, getSummary, getUpdated, getUpstreamDuplicates, getUrl, setAttachments, setAuthor, setContent, setDisplayName, setDownstreamDuplicates, setId, setImage, setPublished, setSummary, setUpdated, setUpstreamDuplicates, setUrl, withAttachments, withAuthor, withContent, withDisplayName, withDownstreamDuplicates, withId, withImage, withPublished, withSummary, withUpdated, withUpstreamDuplicates, withUrl
@BeanProperty(value="objectType") public String getObjectType()
ActivityObject
getObjectType
in class Article
@BeanProperty(value="objectType") public void setObjectType(String objectType)
ActivityObject
setObjectType
in class Article
objectType
- The objectTypepublic Review withObjectType(String objectType)
withObjectType
in class Article
@BeanProperty(value="rating") public Double getRating()
@BeanProperty(value="rating") public void setRating(Double rating)
rating
- The rating@BeanProperty(name="*") public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in class Article
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
setAdditionalProperty
in class Article
public Review withAdditionalProperty(String name, Object value)
withAdditionalProperty
in class Article
Copyright © 2018 The Apache Software Foundation. All rights reserved.