@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class SocialProfileReq extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SocialProfileReq.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BIO |
static String |
SERIALIZED_NAME_FOLLOWERS |
static String |
SERIALIZED_NAME_FOLLOWING |
static String |
SERIALIZED_NAME_SCORE |
static String |
SERIALIZED_NAME_SERVICE |
static String |
SERIALIZED_NAME_URL |
static String |
SERIALIZED_NAME_USERID |
static String |
SERIALIZED_NAME_USERNAME |
| Constructor and Description |
|---|
SocialProfileReq() |
| Modifier and Type | Method and Description |
|---|---|
SocialProfileReq |
bio(String bio) |
boolean |
equals(Object o) |
SocialProfileReq |
followers(Integer followers) |
SocialProfileReq |
following(Integer following) |
static SocialProfileReq |
fromJson(String jsonString)
Create an instance of SocialProfileReq given an JSON string
|
String |
getBio()
Get bio
|
Integer |
getFollowers()
Get followers
|
Integer |
getFollowing()
Get following
|
Integer |
getScore()
Get score
|
String |
getService()
Get service
|
String |
getUrl()
Get url
|
String |
getUserid()
Get userid
|
String |
getUsername()
Get username
|
int |
hashCode() |
SocialProfileReq |
score(Integer score) |
SocialProfileReq |
service(String service) |
void |
setBio(String bio) |
void |
setFollowers(Integer followers) |
void |
setFollowing(Integer following) |
void |
setScore(Integer score) |
void |
setService(String service) |
void |
setUrl(String url) |
void |
setUserid(String userid) |
void |
setUsername(String username) |
String |
toJson()
Convert an instance of SocialProfileReq to an JSON string
|
String |
toString() |
SocialProfileReq |
url(String url) |
SocialProfileReq |
userid(String userid) |
SocialProfileReq |
username(String username) |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final String SERIALIZED_NAME_USERNAME
public static final String SERIALIZED_NAME_USERID
public static final String SERIALIZED_NAME_URL
public static final String SERIALIZED_NAME_BIO
public static final String SERIALIZED_NAME_SERVICE
public static final String SERIALIZED_NAME_FOLLOWERS
public static final String SERIALIZED_NAME_FOLLOWING
public static final String SERIALIZED_NAME_SCORE
public SocialProfileReq username(String username)
public void setUsername(String username)
public SocialProfileReq userid(String userid)
public void setUserid(String userid)
public SocialProfileReq url(String url)
public void setUrl(String url)
public SocialProfileReq bio(String bio)
public void setBio(String bio)
public SocialProfileReq service(String service)
public void setService(String service)
public SocialProfileReq followers(Integer followers)
public void setFollowers(Integer followers)
public SocialProfileReq following(Integer following)
public void setFollowing(Integer following)
public SocialProfileReq score(Integer score)
public void setScore(Integer score)
public static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws IOException
jsonElement - JSON ElementIOException - if the JSON Element is invalid with respect to SocialProfileReqpublic static SocialProfileReq fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to SocialProfileReqpublic String toJson()
Copyright © 2024. All rights reserved.