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 TypeMethodDescriptionbooleanstatic GetPinsCurrent200ResponseCreate an instance of GetPinsCurrent200Response given an JSON stringGet pinnedRecordingGet userNameinthashCode()pinnedRecording(GetPinsCurrent200ResponsePinnedRecording pinnedRecording) voidsetPinnedRecording(GetPinsCurrent200ResponsePinnedRecording pinnedRecording) voidsetUserName(String userName) toJson()Convert an instance of GetPinsCurrent200Response 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_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
-