Class Entity
- java.lang.Object
-
- com.caplin.motif.config.definitions.common.Entity
-
@Generated("org.openapitools.codegen.languages.SpringCodegen") public class Entity extends java.lang.Object
Entity
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Entity
accounts(java.util.Map<java.lang.String,Account> accounts)
Entity
description(java.lang.String description)
boolean
equals(java.lang.Object o)
java.util.Map<java.lang.String,Account>
getAccounts()
Accounts belonging to this entity, keyed by their Account ID@NotNull java.lang.String
getDescription()
Get descriptionjava.util.Map<java.lang.String,User>
getUsers()
Users belonging to this entity, keyed by their User IDint
hashCode()
Entity
putAccountsItem(java.lang.String key, Account accountsItem)
Entity
putUsersItem(java.lang.String key, User usersItem)
void
setAccounts(java.util.Map<java.lang.String,Account> accounts)
void
setDescription(java.lang.String description)
void
setUsers(java.util.Map<java.lang.String,User> users)
java.lang.String
toString()
Entity
users(java.util.Map<java.lang.String,User> users)
-
-
-
Method Detail
-
description
public Entity description(java.lang.String description)
-
getDescription
@NotNull public @NotNull java.lang.String getDescription()
Get description- Returns:
- description
-
setDescription
public void setDescription(java.lang.String description)
-
getUsers
public java.util.Map<java.lang.String,User> getUsers()
Users belonging to this entity, keyed by their User ID- Returns:
- users
-
setUsers
public void setUsers(java.util.Map<java.lang.String,User> users)
-
getAccounts
public java.util.Map<java.lang.String,Account> getAccounts()
Accounts belonging to this entity, keyed by their Account ID- Returns:
- accounts
-
setAccounts
public void setAccounts(java.util.Map<java.lang.String,Account> accounts)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-