Package com.contentful.java.cma.model
Class CMAScheduledAction
- java.lang.Object
-
- com.contentful.java.cma.model.CMAResource
-
- com.contentful.java.cma.model.CMAScheduledAction
-
public class CMAScheduledAction extends CMAResource
Represents model for scheduled action.
-
-
Constructor Summary
Constructors Constructor Description CMAScheduledAction(CMAType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAction()CMALinkgetEntity()CMALinkgetEnvironment()CMAScheduledForgetScheduledFor()CMAScheduledActionsetAction(java.lang.String action)voidsetEntity(CMALink entity)voidsetEnvironment(CMALink environment)voidsetScheduledFor(CMAScheduledFor scheduledFor)CMAScheduledActionsetSystem(CMASystem system)Sets the system field.java.lang.StringtoString()-
Methods inherited from class com.contentful.java.cma.model.CMAResource
getEnvironmentId, getId, getSpaceId, getSystem, getVersion, getVisibility, isArchived, isPublished, setEnvironmentId, setId, setSpaceId, setVersion, setVisibility
-
-
-
-
Constructor Detail
-
CMAScheduledAction
public CMAScheduledAction(CMAType type)
-
-
Method Detail
-
getEntity
public CMALink getEntity()
-
setEntity
public void setEntity(CMALink entity)
-
getEnvironment
public CMALink getEnvironment()
-
setEnvironment
public void setEnvironment(CMALink environment)
-
getScheduledFor
public CMAScheduledFor getScheduledFor()
-
setScheduledFor
public void setScheduledFor(CMAScheduledFor scheduledFor)
-
getAction
public java.lang.String getAction()
-
setAction
public CMAScheduledAction setAction(java.lang.String action)
-
setSystem
public CMAScheduledAction setSystem(CMASystem system)
Description copied from class:CMAResourceSets the system field.- Overrides:
setSystemin classCMAResource- Parameters:
system- sets the system property.- Returns:
- this, as casted to a resource, for the ease of chaining.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classCMAResource- Returns:
- a human readable string, representing the object.
-
-