public class InventoryAssignmentRepresentation extends BaseResourceRepresentation
Modifier and Type | Class and Description |
---|---|
static class |
InventoryAssignmentRepresentation.InventoryAssignmentRepresentationBuilder |
Constructor and Description |
---|
InventoryAssignmentRepresentation() |
InventoryAssignmentRepresentation(Long id,
String managedObject,
List<InventoryRoleRepresentation> roles) |
Modifier and Type | Method and Description |
---|---|
static InventoryAssignmentRepresentation.InventoryAssignmentRepresentationBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Long |
getId() |
String |
getManagedObject() |
List<InventoryRoleRepresentation> |
getRoles() |
int |
hashCode() |
void |
setId(Long id) |
void |
setManagedObject(String managedObject) |
void |
setRoles(List<InventoryRoleRepresentation> roles) |
String |
toString() |
getSelf, getSelfDecoded, setSelf, toJSON
public InventoryAssignmentRepresentation()
public InventoryAssignmentRepresentation(Long id, String managedObject, List<InventoryRoleRepresentation> roles)
@JSONTypeHint(value=InventoryRoleRepresentation.class) public List<InventoryRoleRepresentation> getRoles()
public static InventoryAssignmentRepresentation.InventoryAssignmentRepresentationBuilder builder()
public Long getId()
public String getManagedObject()
public void setId(Long id)
public void setManagedObject(String managedObject)
public void setRoles(List<InventoryRoleRepresentation> roles)
protected boolean canEqual(Object other)
public String toString()
toString
in class BaseResourceRepresentation
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.