Class PayloadCommitVerification
java.lang.Object
build.cursed.genapi.forgejo.model.PayloadCommitVerification
@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 PayloadCommitVerification
extends Object
PayloadCommitVerification represents the GPG verification of a commit
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic PayloadCommitVerificationCreate an instance of PayloadCommitVerification given an JSON stringGet payloadGet reasonGet signatureGet signerGet verifiedinthashCode()voidsetPayload(String payload) voidvoidsetSignature(String signature) voidsetSigner(PayloadUser signer) voidsetVerified(Boolean verified) signer(PayloadUser signer) toJson()Convert an instance of PayloadCommitVerification 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_PAYLOAD
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
SERIALIZED_NAME_SIGNATURE
- See Also:
-
SERIALIZED_NAME_SIGNER
- See Also:
-
SERIALIZED_NAME_VERIFIED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PayloadCommitVerification
public PayloadCommitVerification()
-
-
Method Details
-
payload
-
getPayload
Get payload- Returns:
- payload
-
setPayload
-
reason
-
getReason
Get reason- Returns:
- reason
-
setReason
-
signature
-
getSignature
Get signature- Returns:
- signature
-
setSignature
-
signer
-
getSigner
Get signer- Returns:
- signer
-
setSigner
-
verified
-
getVerified
Get verified- Returns:
- verified
-
setVerified
-
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 PayloadCommitVerification
-
fromJson
Create an instance of PayloadCommitVerification given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PayloadCommitVerification
- Throws:
IOException- if the JSON string is invalid with respect to PayloadCommitVerification
-
toJson
Convert an instance of PayloadCommitVerification to an JSON string- Returns:
- JSON string
-