Package org.hihn.listenbrainz
Class FeedbackGivenBy
java.lang.Object
org.hihn.listenbrainz.FeedbackGivenBy
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.7.0")
public class FeedbackGivenBy
extends Object
FeedbackGivenBy
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFeedbackItem
(FeedbackGivenByFeedbackInner feedbackItem) boolean
feedback
(List<FeedbackGivenByFeedbackInner> feedback) static FeedbackGivenBy
Create an instance of FeedbackGivenBy given an JSON stringgetCount()
Get countGet feedbackGet offsetGet totalCountGet userNameint
hashCode()
void
void
setFeedback
(List<FeedbackGivenByFeedbackInner> feedback) void
void
setTotalCount
(Integer totalCount) void
setUserName
(String userName) toJson()
Convert an instance of FeedbackGivenBy 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:
-
SERIALIZED_NAME_USER_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
FeedbackGivenBy
public FeedbackGivenBy()
-
-
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
-
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 FeedbackGivenBy
-
fromJson
Create an instance of FeedbackGivenBy given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of FeedbackGivenBy
- Throws:
IOException
- if the JSON string is invalid with respect to FeedbackGivenBy
-
toJson
Convert an instance of FeedbackGivenBy to an JSON string- Returns:
- JSON string
-