Package org.hihn.listenbrainz
Class MoveItemRequest
java.lang.Object
org.hihn.listenbrainz.MoveItemRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class MoveItemRequest
extends Object
MoveItemRequest
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static MoveItemRequest
Create an instance of MoveItemRequest given an JSON stringgetCount()
Get countgetFrom()
Get fromgetMbid()
Get mbidgetTo()
Get toint
hashCode()
void
void
void
void
toJson()
Convert an instance of MoveItemRequest 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_MBID
- See Also:
-
SERIALIZED_NAME_FROM
- See Also:
-
SERIALIZED_NAME_TO
- See Also:
-
SERIALIZED_NAME_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MoveItemRequest
public MoveItemRequest()
-
-
Method Details
-
mbid
-
getMbid
Get mbid- Returns:
- mbid
-
setMbid
-
from
-
getFrom
Get from- Returns:
- from
-
setFrom
-
to
-
getTo
Get to- Returns:
- to
-
setTo
-
count
-
getCount
Get count- Returns:
- count
-
setCount
-
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 MoveItemRequest
-
fromJson
Create an instance of MoveItemRequest given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of MoveItemRequest
- Throws:
IOException
- if the JSON string is invalid with respect to MoveItemRequest
-
toJson
Convert an instance of MoveItemRequest to an JSON string- Returns:
- JSON string
-