Class SenlinPolicy
- java.lang.Object
-
- org.openstack4j.openstack.senlin.domain.SenlinPolicy
-
- All Implemented Interfaces:
Serializable,ModelEntity,ResourceEntity,Policy
public class SenlinPolicy extends Object implements Policy
This is a model of a senlinPolicy. It uses Jackson annotations for (de)serialization into JSON format- Author:
- lion
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSenlinPolicy.PolicyAn inner class for representing lists of senlinPolicy
-
Constructor Summary
Constructors Constructor Description SenlinPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetCreatedAt()Returns the created at time of the policyMap<String,Object>getData()Returns the data of the policyStringgetDomain()Returns the domain of the policyStringgetId()StringgetName()StringgetProject()Returns the project of the policyMap<String,Object>getSpec()Returns the spec of the policyStringgetType()Returns the type of the policyDategetUpdatedAt()Returns the updated at time of the policyStringgetUser()Returns the user of the policyStringtoString()
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceResourceEntity- Returns:
- the id of this entity
-
getName
public String getName()
- Specified by:
getNamein interfaceResourceEntity- Returns:
- the name of this entity
-
getDomain
public String getDomain()
Description copied from interface:PolicyReturns the domain of the policy
-
getProject
public String getProject()
Description copied from interface:PolicyReturns the project of the policy- Specified by:
getProjectin interfacePolicy- Returns:
- the project of the policy
-
getUser
public String getUser()
Description copied from interface:PolicyReturns the user of the policy
-
getData
public Map<String,Object> getData()
Description copied from interface:PolicyReturns the data of the policy
-
getSpec
public Map<String,Object> getSpec()
Description copied from interface:PolicyReturns the spec of the policy
-
getType
public String getType()
Description copied from interface:PolicyReturns the type of the policy
-
getCreatedAt
public Date getCreatedAt()
Description copied from interface:PolicyReturns the created at time of the policy- Specified by:
getCreatedAtin interfacePolicy- Returns:
- the created at time of the policy
-
getUpdatedAt
public Date getUpdatedAt()
Description copied from interface:PolicyReturns the updated at time of the policy- Specified by:
getUpdatedAtin interfacePolicy- Returns:
- the updated at time of the policy
-
-