public class RetentionStateRepresentation extends BaseResourceRepresentation
Constructor and Description |
---|
RetentionStateRepresentation() |
RetentionStateRepresentation(String managerNodeIP,
org.joda.time.DateTime managerExpirationTime,
com.cumulocity.model.retention.RetentionState.RetentionStateType state,
RetentionRunRepresentation currentRun,
RetentionRunRepresentation previousRun) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
RetentionRunRepresentation |
getCurrentRun() |
org.joda.time.DateTime |
getManagerExpirationTime() |
String |
getManagerNodeIP() |
RetentionRunRepresentation |
getPreviousRun() |
com.cumulocity.model.retention.RetentionState.RetentionStateType |
getState() |
int |
hashCode() |
void |
setCurrentRun(RetentionRunRepresentation currentRun) |
void |
setManagerExpirationTime(org.joda.time.DateTime managerExpirationTime) |
void |
setManagerNodeIP(String managerNodeIP) |
void |
setPreviousRun(RetentionRunRepresentation previousRun) |
void |
setState(com.cumulocity.model.retention.RetentionState.RetentionStateType state) |
String |
toString() |
getSelf, getSelfDecoded, setSelf, toJSON
public RetentionStateRepresentation()
public RetentionStateRepresentation(String managerNodeIP, org.joda.time.DateTime managerExpirationTime, com.cumulocity.model.retention.RetentionState.RetentionStateType state, RetentionRunRepresentation currentRun, RetentionRunRepresentation previousRun)
public String getManagerNodeIP()
public com.cumulocity.model.retention.RetentionState.RetentionStateType getState()
public RetentionRunRepresentation getCurrentRun()
public RetentionRunRepresentation getPreviousRun()
public void setManagerNodeIP(String managerNodeIP)
public void setManagerExpirationTime(org.joda.time.DateTime managerExpirationTime)
public void setState(com.cumulocity.model.retention.RetentionState.RetentionStateType state)
public void setCurrentRun(RetentionRunRepresentation currentRun)
public void setPreviousRun(RetentionRunRepresentation previousRun)
protected boolean canEqual(Object other)
public String toString()
toString
in class BaseResourceRepresentation
@JSONConverter(type=com.cumulocity.model.DateTimeConverter.class) public org.joda.time.DateTime getManagerExpirationTime()
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.