Package org.hihn.listenbrainz
Class GetPinsCurrent200Response
java.lang.Object
org.hihn.listenbrainz.GetPinsCurrent200Response
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class GetPinsCurrent200Response
extends Object
GetPinsCurrent200Response
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static GetPinsCurrent200Response
Create an instance of GetPinsCurrent200Response given an JSON stringGet pinnedRecordingGet userNameint
hashCode()
pinnedRecording
(GetPinsCurrent200ResponsePinnedRecording pinnedRecording) void
setPinnedRecording
(GetPinsCurrent200ResponsePinnedRecording pinnedRecording) void
setUserName
(String userName) toJson()
Convert an instance of GetPinsCurrent200Response 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_PINNED_RECORDING
- See Also:
-
SERIALIZED_NAME_USER_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GetPinsCurrent200Response
public GetPinsCurrent200Response()
-
-
Method Details
-
pinnedRecording
public GetPinsCurrent200Response pinnedRecording(GetPinsCurrent200ResponsePinnedRecording pinnedRecording) -
getPinnedRecording
Get pinnedRecording- Returns:
- pinnedRecording
-
setPinnedRecording
-
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 GetPinsCurrent200Response
-
fromJson
Create an instance of GetPinsCurrent200Response given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of GetPinsCurrent200Response
- Throws:
IOException
- if the JSON string is invalid with respect to GetPinsCurrent200Response
-
toJson
Convert an instance of GetPinsCurrent200Response to an JSON string- Returns:
- JSON string
-