Package com.morpheusdata.model
Class OperationNotification
- java.lang.Object
-
- com.morpheusdata.model.MorpheusModel
-
- com.morpheusdata.model.projection.OperationNotificationIdentityProjection
-
- com.morpheusdata.model.OperationNotification
-
public class OperationNotification extends OperationNotificationIdentityProjection
-
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
protected java.lang.Boolean
acknowledged
protected java.lang.String
acknowledgedByUser
protected java.util.Date
acknowledgedDate
protected java.lang.String
category
protected java.lang.String
eventKey
protected java.lang.Long
refId
protected java.lang.String
refType
protected java.lang.String
resourceName
protected java.util.Date
startDate
protected java.lang.String
status
protected java.lang.String
statusMessage
protected java.lang.String
uniqueId
-
Fields inherited from class com.morpheusdata.model.projection.OperationNotificationIdentityProjection
externalId, name
-
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
-
Constructor Summary
Constructors Constructor Description OperationNotification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account
getAccount()
The account related to this OperationNotificationjava.lang.Boolean
getAcknowledged()
Returns if this OperationNotification has been acknowledgedjava.lang.String
getAcknowledgedByUser()
Returns the user that acknowledged this OperationNotificationjava.util.Date
getAcknowledgedDate()
Returns the date that this OperationNotification was acknowledgedjava.lang.String
getCategory()
The category related to this OperationNotificationjava.lang.String
getEventKey()
The key for this OperationNotificationjava.lang.Long
getRefId()
Returns the refId for this OperationNotificationjava.lang.String
getRefType()
Returns the refType for this this OperationNotification.java.lang.String
getResourceName()
Returns the underlying resource name for this OperationNotificationjava.util.Date
getStartDate()
Returns the date that this OperationNotification startedjava.lang.String
getStatus()
Returns the status for this OperationNotificationjava.lang.String
getStatusMessage()
Returns the status message for this OperationNotificationjava.lang.String
getUniqueId()
Returns the uniqueId for this OperationNotificationvoid
setAccount(Account account)
Sets the account related to this OperationNotificationvoid
setAcknowledged(java.lang.Boolean acknowledged)
Sets whether the OperationNotification has been acknowledgedvoid
setAcknowledgedByUser(java.lang.String acknowledgedByUser)
Sets the user that acknowledged this this OperationNotification.void
setAcknowledgedDate(java.util.Date acknowledgedDate)
Sets the date that this OperationNotification was acknowledged.void
setCategory(java.lang.String category)
Sets the category for this OperationNotificationvoid
setEventKey(java.lang.String eventKey)
Sets a key for this OperationNotification.void
setRefId(java.lang.Long refId)
Sets the refId for this OperationNotification.void
setRefType(java.lang.String refType)
Sets the refType for this OperationNotification.void
setResourceName(java.lang.String resourceName)
Sets the underlying resource name for this OperationNotification.void
setStartDate(java.util.Date startDate)
Sets the date that this OperationNotification startedvoid
setStatus(java.lang.String status)
Sets the status for this OperationNotification.void
setStatusMessage(java.lang.String statusMessage)
Sets the status message for this OperationNotification.void
setUniqueId(java.lang.String uniqueId)
Sets uniqueId for the OperationNotification.-
Methods inherited from class com.morpheusdata.model.projection.OperationNotificationIdentityProjection
getExternalId, getId, getName, setExternalId, setId, setName
-
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty
-
-
-
-
Field Detail
-
account
protected Account account
-
category
protected java.lang.String category
-
eventKey
protected java.lang.String eventKey
-
acknowledged
protected java.lang.Boolean acknowledged
-
acknowledgedDate
protected java.util.Date acknowledgedDate
-
acknowledgedByUser
protected java.lang.String acknowledgedByUser
-
startDate
protected java.util.Date startDate
-
resourceName
protected java.lang.String resourceName
-
status
protected java.lang.String status
-
statusMessage
protected java.lang.String statusMessage
-
uniqueId
protected java.lang.String uniqueId
-
refType
protected java.lang.String refType
-
refId
protected java.lang.Long refId
-
-
Method Detail
-
getAccount
public Account getAccount()
The account related to this OperationNotification- Returns:
- the Account
-
setAccount
public void setAccount(Account account)
Sets the account related to this OperationNotification- Parameters:
account
- Account
-
getCategory
public java.lang.String getCategory()
The category related to this OperationNotification- Returns:
- category
-
setCategory
public void setCategory(java.lang.String category)
Sets the category for this OperationNotification- Parameters:
category
- Category
-
getEventKey
public java.lang.String getEventKey()
The key for this OperationNotification- Returns:
- eventKey
-
setEventKey
public void setEventKey(java.lang.String eventKey)
Sets a key for this OperationNotification. For example, the VMware alarm key- Parameters:
eventKey
- the event key
-
getAcknowledged
public java.lang.Boolean getAcknowledged()
Returns if this OperationNotification has been acknowledged- Returns:
- acknowledged
-
setAcknowledged
public void setAcknowledged(java.lang.Boolean acknowledged)
Sets whether the OperationNotification has been acknowledged- Parameters:
acknowledged
- acknowledged
-
getAcknowledgedDate
public java.util.Date getAcknowledgedDate()
Returns the date that this OperationNotification was acknowledged- Returns:
- acknowledgedDate
-
setAcknowledgedDate
public void setAcknowledgedDate(java.util.Date acknowledgedDate)
Sets the date that this OperationNotification was acknowledged.- Parameters:
acknowledgedDate
- acknowledgedDate
-
getAcknowledgedByUser
public java.lang.String getAcknowledgedByUser()
Returns the user that acknowledged this OperationNotification- Returns:
- acknowledgedByUser
-
setAcknowledgedByUser
public void setAcknowledgedByUser(java.lang.String acknowledgedByUser)
Sets the user that acknowledged this this OperationNotification.- Parameters:
acknowledgedByUser
- acknowledgedByUser
-
getStartDate
public java.util.Date getStartDate()
Returns the date that this OperationNotification started- Returns:
- startDate
-
setStartDate
public void setStartDate(java.util.Date startDate)
Sets the date that this OperationNotification started- Parameters:
startDate
- startDate
-
getResourceName
public java.lang.String getResourceName()
Returns the underlying resource name for this OperationNotification- Returns:
- resourceName
-
setResourceName
public void setResourceName(java.lang.String resourceName)
Sets the underlying resource name for this OperationNotification.- Parameters:
resourceName
- resourceName
-
getStatus
public java.lang.String getStatus()
Returns the status for this OperationNotification- Returns:
- status
-
setStatus
public void setStatus(java.lang.String status)
Sets the status for this OperationNotification. Should be ok, unknown, warning, or error.- Parameters:
status
- status
-
getStatusMessage
public java.lang.String getStatusMessage()
Returns the status message for this OperationNotification- Returns:
- statusMessage
-
setStatusMessage
public void setStatusMessage(java.lang.String statusMessage)
Sets the status message for this OperationNotification.- Parameters:
statusMessage
- statusMessage
-
getUniqueId
public java.lang.String getUniqueId()
Returns the uniqueId for this OperationNotification- Returns:
- uniqueId
-
setUniqueId
public void setUniqueId(java.lang.String uniqueId)
Sets uniqueId for the OperationNotification. Morpheus ignores this value.- Parameters:
uniqueId
- uniqueId
-
getRefType
public java.lang.String getRefType()
Returns the refType for this this OperationNotification.- Returns:
- refType
-
setRefType
public void setRefType(java.lang.String refType)
Sets the refType for this OperationNotification. Set to the camelcase class name related to this OperationNotification. For example, 'computeZone', 'networkLoadBalancer', 'computeServer', 'datastore', etc- Parameters:
refType
- refType
-
getRefId
public java.lang.Long getRefId()
Returns the refId for this OperationNotification- Returns:
- refId
-
setRefId
public void setRefId(java.lang.Long refId)
Sets the refId for this OperationNotification. Set to the id of the object related to this OperationNotification.- Parameters:
refId
- refId
-
-