Class InventoryAssignmentRepresentation
java.lang.Object
com.cumulocity.rest.representation.BaseResourceRepresentation
com.cumulocity.rest.representation.AbstractExtensibleRepresentation
com.cumulocity.rest.representation.user.InventoryAssignmentRepresentation
- All Implemented Interfaces:
ResourceRepresentation,org.svenson.DynamicProperties
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
ConstructorsConstructorDescriptionInventoryAssignmentRepresentation(Long id, String managedObject, List<InventoryRoleRepresentation> roles) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetId()getRoles()inthashCode()voidvoidsetManagedObject(String managedObject) voidsetRoles(List<InventoryRoleRepresentation> roles) toString()Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setPropertyMethods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON
-
Constructor Details
-
InventoryAssignmentRepresentation
public InventoryAssignmentRepresentation() -
InventoryAssignmentRepresentation
public InventoryAssignmentRepresentation(Long id, String managedObject, List<InventoryRoleRepresentation> roles)
-
-
Method Details
-
getRoles
@JSONTypeHint(InventoryRoleRepresentation.class) public List<InventoryRoleRepresentation> getRoles() -
builder
-
getId
-
getManagedObject
-
setId
-
setManagedObject
-
setRoles
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
- Overrides:
toStringin classBaseResourceRepresentation
-