Package org.hihn.listenbrainz
Class ArtistMapForUserPayload
java.lang.Object
org.hihn.listenbrainz.ArtistMapForUserPayload
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class ArtistMapForUserPayload
extends Object
ArtistMapForUserPayload
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArtistMapItem
(ArtistMapForUserPayloadArtistMapInner artistMapItem) artistMap
(List<ArtistMapForUserPayloadArtistMapInner> artistMap) boolean
static ArtistMapForUserPayload
Create an instance of ArtistMapForUserPayload given an JSON stringGet artistMapGet fromTsGet lastUpdatedgetRange()
Get rangegetToTs()
Get toTsGet userIdint
hashCode()
lastUpdated
(Integer lastUpdated) void
setArtistMap
(List<ArtistMapForUserPayloadArtistMapInner> artistMap) void
void
setLastUpdated
(Integer lastUpdated) void
void
void
toJson()
Convert an instance of ArtistMapForUserPayload 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_ARTIST_MAP
- See Also:
-
SERIALIZED_NAME_FROM_TS
- See Also:
-
SERIALIZED_NAME_LAST_UPDATED
- See Also:
-
SERIALIZED_NAME_RANGE
- See Also:
-
SERIALIZED_NAME_TO_TS
- See Also:
-
SERIALIZED_NAME_USER_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ArtistMapForUserPayload
public ArtistMapForUserPayload()
-
-
Method Details
-
artistMap
-
addArtistMapItem
public ArtistMapForUserPayload addArtistMapItem(ArtistMapForUserPayloadArtistMapInner artistMapItem) -
getArtistMap
Get artistMap- Returns:
- artistMap
-
setArtistMap
-
fromTs
-
getFromTs
Get fromTs- Returns:
- fromTs
-
setFromTs
-
lastUpdated
-
getLastUpdated
Get lastUpdated- Returns:
- lastUpdated
-
setLastUpdated
-
range
-
getRange
Get range- Returns:
- range
-
setRange
-
toTs
-
getToTs
Get toTs- Returns:
- toTs
-
setToTs
-
userId
-
getUserId
Get userId- Returns:
- userId
-
setUserId
-
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 ArtistMapForUserPayload
-
fromJson
Create an instance of ArtistMapForUserPayload given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of ArtistMapForUserPayload
- Throws:
IOException
- if the JSON string is invalid with respect to ArtistMapForUserPayload
-
toJson
Convert an instance of ArtistMapForUserPayload to an JSON string- Returns:
- JSON string
-