@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class SocialProfileDetails extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SocialProfileDetails.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_SERVICE |
static String |
SERIALIZED_NAME_URL |
static String |
SERIALIZED_NAME_USERID |
static String |
SERIALIZED_NAME_USERNAME |
| Constructor and Description |
|---|
SocialProfileDetails() |
| Modifier and Type | Method and Description |
|---|---|
SocialProfileDetails |
bio(String bio) |
boolean |
equals(Object o) |
SocialProfileDetails |
followers(Integer followers) |
SocialProfileDetails |
following(Integer following) |
static SocialProfileDetails |
fromJson(String jsonString)
Create an instance of SocialProfileDetails given an JSON string
|
String |
getBio()
Get bio
|
Integer |
getFollowers()
Get followers
|
Integer |
getFollowing()
Get following
|
String |
getService()
Get service
|
String |
getUrl()
Get url
|
String |
getUserid()
Get userid
|
String |
getUsername()
Get username
|
int |
hashCode() |
SocialProfileDetails |
service(String service) |
void |
setBio(String bio) |
void |
setFollowers(Integer followers) |
void |
setFollowing(Integer following) |
void |
setService(String service) |
void |
setUrl(String url) |
void |
setUserid(String userid) |
void |
setUsername(String username) |
String |
toJson()
Convert an instance of SocialProfileDetails to an JSON string
|
String |
toString() |
SocialProfileDetails |
url(String url) |
SocialProfileDetails |
userid(String userid) |
SocialProfileDetails |
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 SocialProfileDetails username(String username)
public void setUsername(String username)
public SocialProfileDetails userid(String userid)
public void setUserid(String userid)
public SocialProfileDetails url(String url)
public void setUrl(String url)
public SocialProfileDetails bio(String bio)
public void setBio(String bio)
public SocialProfileDetails service(String service)
public void setService(String service)
public SocialProfileDetails followers(Integer followers)
public void setFollowers(Integer followers)
public SocialProfileDetails following(Integer following)
public void setFollowing(Integer following)
public static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws IOException
jsonElement - JSON ElementIOException - if the JSON Element is invalid with respect to SocialProfileDetailspublic static SocialProfileDetails fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to SocialProfileDetailspublic String toJson()
Copyright © 2024. All rights reserved.