Package org.hihn.listenbrainz
Class SitewideArtistMapPayload
java.lang.Object
org.hihn.listenbrainz.SitewideArtistMapPayload
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class SitewideArtistMapPayload
extends Object
SitewideArtistMapPayload
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArtistMapItem(ArtistMapForUserPayloadArtistMapInner artistMapItem) artistMap(List<ArtistMapForUserPayloadArtistMapInner> artistMap) booleanstatic SitewideArtistMapPayloadCreate an instance of SitewideArtistMapPayload given an JSON stringGet artistMapGet fromTsGet lastUpdatedgetRange()Get rangegetToTs()Get toTsinthashCode()lastUpdated(Integer lastUpdated) voidsetArtistMap(List<ArtistMapForUserPayloadArtistMapInner> artistMap) voidvoidsetLastUpdated(Integer lastUpdated) voidvoidtoJson()Convert an instance of SitewideArtistMapPayload 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_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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SitewideArtistMapPayload
public SitewideArtistMapPayload()
-
-
Method Details
-
artistMap
-
addArtistMapItem
public SitewideArtistMapPayload 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
-
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 SitewideArtistMapPayload
-
fromJson
Create an instance of SitewideArtistMapPayload given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SitewideArtistMapPayload
- Throws:
IOException- if the JSON string is invalid with respect to SitewideArtistMapPayload
-
toJson
Convert an instance of SitewideArtistMapPayload to an JSON string- Returns:
- JSON string
-