Class WatchInfo
java.lang.Object
build.cursed.genapi.forgejo.model.WatchInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-09-28T10:48:29.723777+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class WatchInfo
extends Object
WatchInfo represents an API watch status of one repository
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanstatic WatchInfoCreate an instance of WatchInfo given an JSON stringGet createdAtGet ignoredGet reasonGet repositoryUrlGet subscribedgetUrl()Get urlinthashCode()repositoryUrl(String repositoryUrl) voidsetCreatedAt(OffsetDateTime createdAt) voidsetIgnored(Boolean ignored) voidvoidsetRepositoryUrl(String repositoryUrl) voidsetSubscribed(Boolean subscribed) voidsubscribed(Boolean subscribed) toJson()Convert an instance of WatchInfo 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_CREATED_AT
- See Also:
-
SERIALIZED_NAME_IGNORED
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
SERIALIZED_NAME_REPOSITORY_URL
- See Also:
-
SERIALIZED_NAME_SUBSCRIBED
- See Also:
-
SERIALIZED_NAME_URL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WatchInfo
public WatchInfo()
-
-
Method Details
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
ignored
-
getIgnored
Get ignored- Returns:
- ignored
-
setIgnored
-
reason
-
getReason
Get reason- Returns:
- reason
-
setReason
-
repositoryUrl
-
getRepositoryUrl
Get repositoryUrl- Returns:
- repositoryUrl
-
setRepositoryUrl
-
subscribed
-
getSubscribed
Get subscribed- Returns:
- subscribed
-
setSubscribed
-
url
-
getUrl
Get url- Returns:
- url
-
setUrl
-
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 WatchInfo
-
fromJson
Create an instance of WatchInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WatchInfo
- Throws:
IOException- if the JSON string is invalid with respect to WatchInfo
-
toJson
Convert an instance of WatchInfo to an JSON string- Returns:
- JSON string
-