Package org.hihn.listenbrainz
Class SimilarityOfUserForUserPayload
java.lang.Object
org.hihn.listenbrainz.SimilarityOfUserForUserPayload
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class SimilarityOfUserForUserPayload
extends Object
SimilarityOfUserForUserPayload
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Create an instance of SimilarityOfUserForUserPayload given an JSON stringGet similarityGet userNameint
hashCode()
void
setSimilarity
(Integer similarity) void
setUserName
(String userName) similarity
(Integer similarity) toJson()
Convert an instance of SimilarityOfUserForUserPayload to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_SIMILARITY
- See Also:
-
SERIALIZED_NAME_USER_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SimilarityOfUserForUserPayload
public SimilarityOfUserForUserPayload()
-
-
Method Details
-
similarity
-
getSimilarity
Get similarity- Returns:
- similarity
-
setSimilarity
-
userName
-
getUserName
Get userName- Returns:
- userName
-
setUserName
-
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 SimilarityOfUserForUserPayload
-
fromJson
Create an instance of SimilarityOfUserForUserPayload given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of SimilarityOfUserForUserPayload
- Throws:
IOException
- if the JSON string is invalid with respect to SimilarityOfUserForUserPayload
-
toJson
Convert an instance of SimilarityOfUserForUserPayload to an JSON string- Returns:
- JSON string
-