@Generated(value="org.jsonschema2pojo") public class Question extends ActivityObject
Constructor and Description |
---|
Question() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
String |
getObjectType()
Identifies the type of object.
|
List<Option> |
getOptions() |
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setObjectType(String objectType)
Identifies the type of object.
|
void |
setOptions(List<Option> options) |
String |
toString() |
Question |
withAdditionalProperty(String name,
Object value) |
Question |
withObjectType(String objectType) |
Question |
withOptions(List<Option> options) |
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 ActivityObject
@BeanProperty(value="objectType") public void setObjectType(String objectType)
ActivityObject
setObjectType
in class ActivityObject
objectType
- The objectTypepublic Question withObjectType(String objectType)
withObjectType
in class ActivityObject
@BeanProperty(value="options") public void setOptions(List<Option> options)
options
- The optionspublic String toString()
toString
in class ActivityObject
@BeanProperty(name="*") public Map<String,Object> getAdditionalProperties()
getAdditionalProperties
in class ActivityObject
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
setAdditionalProperty
in class ActivityObject
public Question withAdditionalProperty(String name, Object value)
withAdditionalProperty
in class ActivityObject
public int hashCode()
hashCode
in class ActivityObject
public boolean equals(Object other)
equals
in class ActivityObject
Copyright © 2018 The Apache Software Foundation. All rights reserved.