Class NotificationView
- java.lang.Object
-
- com.synopsys.integration.util.Stringable
-
- com.synopsys.integration.blackduck.api.core.BlackDuckComponent
-
- com.synopsys.integration.blackduck.api.core.BlackDuckResponse
-
- com.synopsys.integration.blackduck.api.core.BlackDuckView
-
- com.synopsys.integration.blackduck.api.manual.view.NotificationView
-
- All Implemented Interfaces:
NotificationViewData
- Direct Known Subclasses:
BomEditNotificationView,LicenseLimitNotificationView,PolicyOverrideNotificationView,ProjectNotificationView,ProjectVersionNotificationView,RuleViolationClearedNotificationView,RuleViolationNotificationView,VersionBomCodeLocationBomComputedNotificationView,VulnerabilityNotificationView
public class NotificationView extends BlackDuckView implements NotificationViewData
-
-
Constructor Summary
Constructors Constructor Description NotificationView()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContentType()java.util.DategetCreatedAt()java.lang.Class<? extends BlackDuckResponse>getSubclass()NotificationTypegetType()booleanhasSubclasses()voidsetContentType(java.lang.String contentType)voidsetCreatedAt(java.util.Date createdAt)voidsetType(NotificationType type)-
Methods inherited from class com.synopsys.integration.blackduck.api.core.BlackDuckView
getAllowedMethods, getAvailableLinks, getFirstLink, getFirstLinkSafely, getHref, getLinks, getMediaType, getMeta, getResourceLinks, getResourceMetadata, hasLink, setMeta
-
Methods inherited from class com.synopsys.integration.blackduck.api.core.BlackDuckResponse
getGson, getJson, getJsonElement, getPatch, setGson, setJson, setJsonElement, setPatch
-
-
-
-
Method Detail
-
hasSubclasses
public boolean hasSubclasses()
- Overrides:
hasSubclassesin classBlackDuckResponse
-
getSubclass
public java.lang.Class<? extends BlackDuckResponse> getSubclass()
- Overrides:
getSubclassin classBlackDuckResponse
-
getContentType
public java.lang.String getContentType()
- Specified by:
getContentTypein interfaceNotificationViewData
-
setContentType
public void setContentType(java.lang.String contentType)
- Specified by:
setContentTypein interfaceNotificationViewData
-
getCreatedAt
public java.util.Date getCreatedAt()
- Specified by:
getCreatedAtin interfaceNotificationViewData
-
setCreatedAt
public void setCreatedAt(java.util.Date createdAt)
- Specified by:
setCreatedAtin interfaceNotificationViewData
-
getType
public NotificationType getType()
- Specified by:
getTypein interfaceNotificationViewData
-
setType
public void setType(NotificationType type)
- Specified by:
setTypein interfaceNotificationViewData
-
-