Class MuranoApplication
- java.lang.Object
-
- org.openstack4j.openstack.murano.v1.domain.MuranoApplication
-
- All Implemented Interfaces:
Serializable,ModelEntity,Application
public class MuranoApplication extends Object implements Application
This is needed to serialize only property "data" without key "data" itself. I.e. get output: { "instance": { ... }, "name": "MyApp", ... }instead of:
{ "data": { "instance": { ... }, "name": "MyApp", ... } }
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMuranoApplication.ApplicationListThis class differs from similar classes for other services due to the output format difference.
-
Constructor Summary
Constructors Constructor Description MuranoApplication()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendData(String key, Object value)All except for internal service info will be added to data.Map<String,Object>getData()MuranoServiceInfogetService()StringtoString()
-
-
-
Method Detail
-
appendData
public void appendData(String key, Object value)
All except for internal service info will be added to data.
-
getData
public Map<String,Object> getData()
- Specified by:
getDatain interfaceApplication- Returns:
- data in map format (Map
).
-
getService
public MuranoServiceInfo getService()
- Specified by:
getServicein interfaceApplication- Returns:
- service internal info
-
-