Class DeployKey
java.lang.Object
build.cursed.genapi.forgejo.model.DeployKey
@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 DeployKey
extends Object
DeployKey a deploy key
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanfingerprint(String fingerprint) static DeployKeyCreate an instance of DeployKey given an JSON stringGet createdAtGet fingerprintgetId()Get idgetKey()Get keygetKeyId()Get keyIdGet readOnlyGet repositorygetTitle()Get titlegetUrl()Get urlinthashCode()repository(Repository repository) voidsetCreatedAt(OffsetDateTime createdAt) voidsetFingerprint(String fingerprint) voidvoidvoidvoidsetReadOnly(Boolean readOnly) voidsetRepository(Repository repository) voidvoidtoJson()Convert an instance of DeployKey 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_FINGERPRINT
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_KEY
- See Also:
-
SERIALIZED_NAME_KEY_ID
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_REPOSITORY
- See Also:
-
SERIALIZED_NAME_TITLE
- See Also:
-
SERIALIZED_NAME_URL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
DeployKey
public DeployKey()
-
-
Method Details
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
fingerprint
-
getFingerprint
Get fingerprint- Returns:
- fingerprint
-
setFingerprint
-
id
-
getId
Get id- Returns:
- id
-
setId
-
key
-
getKey
Get key- Returns:
- key
-
setKey
-
keyId
-
getKeyId
Get keyId- Returns:
- keyId
-
setKeyId
-
readOnly
-
getReadOnly
Get readOnly- Returns:
- readOnly
-
setReadOnly
-
repository
-
getRepository
Get repository- Returns:
- repository
-
setRepository
-
title
-
getTitle
Get title- Returns:
- title
-
setTitle
-
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 DeployKey
-
fromJson
Create an instance of DeployKey given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DeployKey
- Throws:
IOException- if the JSON string is invalid with respect to DeployKey
-
toJson
Convert an instance of DeployKey to an JSON string- Returns:
- JSON string
-