Class AccountInventoryIdentityProjection
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.AccountInventoryIdentityProjection
- Direct Known Subclasses:
AccountInventory
Represents ansible inventory files. This is the identity projection class that is used for syncing inventory.
- Since:
- 0.8.0
- See Also:
-
Field Summary
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the external id associated with this inventory.void
setExternalId
(String externalId) Sets the external id on the inventory based on the passed id.Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityProperties
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
externalId
-
-
Constructor Details
-
AccountInventoryIdentityProjection
public AccountInventoryIdentityProjection()
-
-
Method Details
-
getExternalId
Gets the external id associated with this inventory. This is typically the unique id of the inventory on the remote integration- Returns:
- the external id
-
setExternalId
Sets the external id on the inventory based on the passed id. Typically this would be done in a sync job- Parameters:
externalId
- the external reference id of the inventory file
-