Package org.hihn.listenbrainz
Class GetPins
java.lang.Object
org.hihn.listenbrainz.GetPins
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class GetPins
extends Object
GetPins
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPinnedRecordingsItem(GetPinsPinnedRecordingsInner pinnedRecordingsItem) booleanstatic GetPinsCreate an instance of GetPins given an JSON stringgetCount()Get countGet offsetGet pinnedRecordingsGet totalCountGet userNameinthashCode()pinnedRecordings(List<GetPinsPinnedRecordingsInner> pinnedRecordings) voidvoidvoidsetPinnedRecordings(List<GetPinsPinnedRecordingsInner> pinnedRecordings) voidsetTotalCount(Integer totalCount) voidsetUserName(String userName) toJson()Convert an instance of GetPins to an JSON stringtoString()totalCount(Integer totalCount) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_COUNT
- See Also:
-
SERIALIZED_NAME_OFFSET
- See Also:
-
SERIALIZED_NAME_PINNED_RECORDINGS
- See Also:
-
SERIALIZED_NAME_TOTAL_COUNT
- See Also:
-
SERIALIZED_NAME_USER_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
GetPins
public GetPins()
-
-
Method Details
-
count
-
getCount
Get count- Returns:
- count
-
setCount
-
offset
-
getOffset
Get offset- Returns:
- offset
-
setOffset
-
pinnedRecordings
-
addPinnedRecordingsItem
-
getPinnedRecordings
Get pinnedRecordings- Returns:
- pinnedRecordings
-
setPinnedRecordings
-
totalCount
-
getTotalCount
Get totalCount- Returns:
- totalCount
-
setTotalCount
-
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 GetPins
-
fromJson
Create an instance of GetPins given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of GetPins
- Throws:
IOException- if the JSON string is invalid with respect to GetPins
-
toJson
Convert an instance of GetPins to an JSON string- Returns:
- JSON string
-