Package org.hihn.listenbrainz
Class Following
java.lang.Object
org.hihn.listenbrainz.Following
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class Following
extends Object
Following
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFollowingItem(String followingItem) booleanstatic FollowingCreate an instance of Following given an JSON stringGet followinggetUser()Get userinthashCode()voidsetFollowing(List<String> following) voidtoJson()Convert an instance of Following 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_FOLLOWING
- See Also:
-
SERIALIZED_NAME_USER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Following
public Following()
-
-
Method Details
-
following
-
addFollowingItem
-
getFollowing
Get following- Returns:
- following
-
setFollowing
-
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 Following
-
fromJson
Create an instance of Following given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Following
- Throws:
IOException- if the JSON string is invalid with respect to Following
-
toJson
Convert an instance of Following to an JSON string- Returns:
- JSON string
-