Package org.hihn.listenbrainz
Class Followers
java.lang.Object
org.hihn.listenbrainz.Followers
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class Followers
extends Object
Followers
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFollowersItem(String followersItem) booleanstatic FollowersCreate an instance of Followers given an JSON stringGet followersgetUser()Get userinthashCode()voidsetFollowers(List<String> followers) voidtoJson()Convert an instance of Followers to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FOLLOWERS
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Followers
public Followers()
-
-
Method Details
-
followers
-
addFollowersItem
-
getFollowers
Get followers- Returns:
- followers
-
setFollowers
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to Followers
-
fromJson
Create an instance of Followers given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Followers
- Throws:
IOException- if the JSON string is invalid with respect to Followers
-
toJson
Convert an instance of Followers to an JSON string- Returns:
- JSON string
-