com.linkedin.restli.common
Class UpdateStatus

java.lang.Object
  extended by com.linkedin.data.template.RecordTemplate
      extended by com.linkedin.restli.common.UpdateStatus
All Implemented Interfaces:
com.linkedin.data.template.DataTemplate<com.linkedin.data.DataMap>, java.lang.Cloneable

public class UpdateStatus
extends com.linkedin.data.template.RecordTemplate


Constructor Summary
UpdateStatus()
          Initialize an empty UpdateStatus.
UpdateStatus(com.linkedin.data.DataMap data)
          Initialize an UpdateStatus based on the given DataMap.
 
Method Summary
 java.lang.Integer getStatus()
           
 void setStatus(java.lang.Integer status)
          Set the http status of the UpdateStatus.
 
Methods inherited from class com.linkedin.data.template.RecordTemplate
clone, contains, copy, data, equals, hashCode, obtainDirect, obtainWrapped, putDirect, putDirect, putDirect, putWrapped, putWrapped, remove, schema, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateStatus

public UpdateStatus()
Initialize an empty UpdateStatus.


UpdateStatus

public UpdateStatus(com.linkedin.data.DataMap data)
Initialize an UpdateStatus based on the given DataMap.

Parameters:
data - a DataMap
Method Detail

getStatus

public java.lang.Integer getStatus()
Returns:
the http status of the updateStatus

setStatus

public void setStatus(java.lang.Integer status)
Set the http status of the UpdateStatus.

Parameters:
status - the http status