@Generated(value="org.jsonschema2pojo") public class Friendship extends Object implements Serializable
Constructor and Description |
---|
Friendship() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Map<String,Object> |
getAdditionalProperties() |
List<Connection> |
getConnections() |
Long |
getId() |
String |
getIdStr() |
String |
getName() |
String |
getScreenName() |
int |
hashCode() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setConnections(List<Connection> connections) |
void |
setId(Long id) |
void |
setIdStr(String idStr) |
void |
setName(String name) |
void |
setScreenName(String screenName) |
String |
toString() |
Friendship |
withAdditionalProperty(String name,
Object value) |
Friendship |
withConnections(List<Connection> connections) |
Friendship |
withId(Long id) |
Friendship |
withIdStr(String idStr) |
Friendship |
withName(String name) |
Friendship |
withScreenName(String screenName) |
@BeanProperty(value="name") public String getName()
@BeanProperty(value="name") public void setName(String name)
name
- The namepublic Friendship withName(String name)
@BeanProperty(value="screen_name") public String getScreenName()
@BeanProperty(value="screen_name") public void setScreenName(String screenName)
screenName
- The screen_namepublic Friendship withScreenName(String screenName)
@BeanProperty(value="id") public Long getId()
@BeanProperty(value="id") public void setId(Long id)
id
- The idpublic Friendship withId(Long id)
@BeanProperty(value="id_str") public String getIdStr()
@BeanProperty(value="id_str") public void setIdStr(String idStr)
idStr
- The id_strpublic Friendship withIdStr(String idStr)
@BeanProperty(value="connections") public List<Connection> getConnections()
@BeanProperty(value="connections") public void setConnections(List<Connection> connections)
connections
- The connectionspublic Friendship withConnections(List<Connection> connections)
@BeanProperty(name="*") public void setAdditionalProperty(String name, Object value)
public Friendship withAdditionalProperty(String name, Object value)
Copyright © 2018 The Apache Software Foundation. All rights reserved.