Package io.gitea.model
Class NotificationThread
java.lang.Object
io.gitea.model.NotificationThread
public class NotificationThread
extends java.lang.Object
NotificationThread expose Notification on API
-
Constructor Summary
Constructors Constructor Description NotificationThread() -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.LonggetId()Get idRepositorygetRepository()Get repositoryNotificationSubjectgetSubject()Get subjectorg.threeten.bp.OffsetDateTimegetUpdatedAt()Get updatedAtjava.lang.StringgetUrl()Get urlinthashCode()NotificationThreadid(java.lang.Long id)java.lang.BooleanisPinned()Get pinnedjava.lang.BooleanisUnread()Get unreadNotificationThreadpinned(java.lang.Boolean pinned)NotificationThreadrepository(Repository repository)voidsetId(java.lang.Long id)voidsetPinned(java.lang.Boolean pinned)voidsetRepository(Repository repository)voidsetSubject(NotificationSubject subject)voidsetUnread(java.lang.Boolean unread)voidsetUpdatedAt(org.threeten.bp.OffsetDateTime updatedAt)voidsetUrl(java.lang.String url)NotificationThreadsubject(NotificationSubject subject)java.lang.StringtoString()NotificationThreadunread(java.lang.Boolean unread)NotificationThreadupdatedAt(org.threeten.bp.OffsetDateTime updatedAt)NotificationThreadurl(java.lang.String url)
-
Constructor Details
-
NotificationThread
public NotificationThread()
-
-
Method Details
-
id
-
getId
public java.lang.Long getId()Get id- Returns:
- id
-
setId
public void setId(java.lang.Long id) -
pinned
-
isPinned
public java.lang.Boolean isPinned()Get pinned- Returns:
- pinned
-
setPinned
public void setPinned(java.lang.Boolean pinned) -
repository
-
getRepository
Get repository- Returns:
- repository
-
setRepository
-
subject
-
getSubject
Get subject- Returns:
- subject
-
setSubject
-
unread
-
isUnread
public java.lang.Boolean isUnread()Get unread- Returns:
- unread
-
setUnread
public void setUnread(java.lang.Boolean unread) -
updatedAt
-
getUpdatedAt
public org.threeten.bp.OffsetDateTime getUpdatedAt()Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(org.threeten.bp.OffsetDateTime updatedAt) -
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
-