Package org.hihn.listenbrainz
Class FeedbackResponse
java.lang.Object
org.hihn.listenbrainz.FeedbackResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class FeedbackResponse
extends Object
FeedbackResponse
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFeedbackItem
(Feedback feedbackItem) boolean
static FeedbackResponse
Create an instance of FeedbackResponse given an JSON stringgetCount()
Get countGet feedbackGet offsetGet totalCountint
hashCode()
void
void
setFeedback
(List<Feedback> feedback) void
void
setTotalCount
(Integer totalCount) toJson()
Convert an instance of FeedbackResponse to an JSON stringtoString()
totalCount
(Integer totalCount) static void
validateJsonElement
(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_FEEDBACK
- See Also:
-
SERIALIZED_NAME_OFFSET
- See Also:
-
SERIALIZED_NAME_TOTAL_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FeedbackResponse
public FeedbackResponse()
-
-
Method Details
-
count
-
getCount
Get count- Returns:
- count
-
setCount
-
feedback
-
addFeedbackItem
-
getFeedback
Get feedback- Returns:
- feedback
-
setFeedback
-
offset
-
getOffset
Get offset- Returns:
- offset
-
setOffset
-
totalCount
-
getTotalCount
Get totalCount- Returns:
- totalCount
-
setTotalCount
-
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 FeedbackResponse
-
fromJson
Create an instance of FeedbackResponse given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of FeedbackResponse
- Throws:
IOException
- if the JSON string is invalid with respect to FeedbackResponse
-
toJson
Convert an instance of FeedbackResponse to an JSON string- Returns:
- JSON string
-