Class UserHeatmapData
java.lang.Object
build.cursed.genapi.forgejo.model.UserHeatmapData
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-09-28T16:24:31.414706+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class UserHeatmapData
extends Object
UserHeatmapData represents the data needed to create a heatmap
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontributions(Long contributions) booleanstatic UserHeatmapDataCreate an instance of UserHeatmapData given an JSON stringGet contributionsTimeStamp defines a timestampinthashCode()voidsetContributions(Long contributions) voidsetTimestamp(Long timestamp) toJson()Convert an instance of UserHeatmapData 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_CONTRIBUTIONS
- See Also:
-
SERIALIZED_NAME_TIMESTAMP
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UserHeatmapData
public UserHeatmapData()
-
-
Method Details
-
contributions
-
getContributions
Get contributions- Returns:
- contributions
-
setContributions
-
timestamp
-
getTimestamp
TimeStamp defines a timestamp- Returns:
- timestamp
-
setTimestamp
-
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 UserHeatmapData
-
fromJson
Create an instance of UserHeatmapData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UserHeatmapData
- Throws:
IOException- if the JSON string is invalid with respect to UserHeatmapData
-
toJson
Convert an instance of UserHeatmapData to an JSON string- Returns:
- JSON string
-