Package io.gitea.model
Class DeployKey
- java.lang.Object
-
- io.gitea.model.DeployKey
-
public class DeployKey extends java.lang.ObjectDeployKey a deploy key
-
-
Constructor Summary
Constructors Constructor Description DeployKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeployKeycreatedAt(org.threeten.bp.OffsetDateTime createdAt)booleanequals(java.lang.Object o)DeployKeyfingerprint(java.lang.String fingerprint)org.threeten.bp.OffsetDateTimegetCreatedAt()Get createdAtjava.lang.StringgetFingerprint()Get fingerprintjava.lang.LonggetId()Get idjava.lang.StringgetKey()Get keyjava.lang.LonggetKeyId()Get keyIdRepositorygetRepository()Get repositoryjava.lang.StringgetTitle()Get titlejava.lang.StringgetUrl()Get urlinthashCode()DeployKeyid(java.lang.Long id)java.lang.BooleanisReadOnly()Get readOnlyDeployKeykey(java.lang.String key)DeployKeykeyId(java.lang.Long keyId)DeployKeyreadOnly(java.lang.Boolean readOnly)DeployKeyrepository(Repository repository)voidsetCreatedAt(org.threeten.bp.OffsetDateTime createdAt)voidsetFingerprint(java.lang.String fingerprint)voidsetId(java.lang.Long id)voidsetKey(java.lang.String key)voidsetKeyId(java.lang.Long keyId)voidsetReadOnly(java.lang.Boolean readOnly)voidsetRepository(Repository repository)voidsetTitle(java.lang.String title)voidsetUrl(java.lang.String url)DeployKeytitle(java.lang.String title)java.lang.StringtoString()DeployKeyurl(java.lang.String url)
-
-
-
Method Detail
-
createdAt
public DeployKey createdAt(org.threeten.bp.OffsetDateTime createdAt)
-
getCreatedAt
public org.threeten.bp.OffsetDateTime getCreatedAt()
Get createdAt- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(org.threeten.bp.OffsetDateTime createdAt)
-
fingerprint
public DeployKey fingerprint(java.lang.String fingerprint)
-
getFingerprint
public java.lang.String getFingerprint()
Get fingerprint- Returns:
- fingerprint
-
setFingerprint
public void setFingerprint(java.lang.String fingerprint)
-
id
public DeployKey id(java.lang.Long id)
-
getId
public java.lang.Long getId()
Get id- Returns:
- id
-
setId
public void setId(java.lang.Long id)
-
key
public DeployKey key(java.lang.String key)
-
getKey
public java.lang.String getKey()
Get key- Returns:
- key
-
setKey
public void setKey(java.lang.String key)
-
keyId
public DeployKey keyId(java.lang.Long keyId)
-
getKeyId
public java.lang.Long getKeyId()
Get keyId- Returns:
- keyId
-
setKeyId
public void setKeyId(java.lang.Long keyId)
-
readOnly
public DeployKey readOnly(java.lang.Boolean readOnly)
-
isReadOnly
public java.lang.Boolean isReadOnly()
Get readOnly- Returns:
- readOnly
-
setReadOnly
public void setReadOnly(java.lang.Boolean readOnly)
-
repository
public DeployKey repository(Repository repository)
-
getRepository
public Repository getRepository()
Get repository- Returns:
- repository
-
setRepository
public void setRepository(Repository repository)
-
title
public DeployKey title(java.lang.String title)
-
getTitle
public java.lang.String getTitle()
Get title- Returns:
- title
-
setTitle
public void setTitle(java.lang.String title)
-
url
public DeployKey url(java.lang.String url)
-
getUrl
public java.lang.String getUrl()
Get url- Returns:
- url
-
setUrl
public void setUrl(java.lang.String url)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-