java.lang.Object
com.caplin.motif.config.definitions.common.Entity

@Generated("org.openapitools.codegen.languages.SpringCodegen") public class Entity extends Object
Entity
  • Constructor Details

    • Entity

      public Entity()
    • Entity

      public Entity(String description)
      Constructor with only required parameters
  • Method Details

    • description

      public Entity description(String description)
    • getDescription

      @NotNull public @NotNull String getDescription()
      Get description
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • users

      public Entity users(Map<String,User> users)
    • putUsersItem

      public Entity putUsersItem(String key, User usersItem)
    • getUsers

      public Map<String,User> getUsers()
      Users belonging to this entity, keyed by their User ID
      Returns:
      users
    • setUsers

      public void setUsers(Map<String,User> users)
    • accounts

      public Entity accounts(Map<String,Account> accounts)
    • putAccountsItem

      public Entity putAccountsItem(String key, Account accountsItem)
    • getAccounts

      public Map<String,Account> getAccounts()
      Accounts belonging to this entity, keyed by their Account ID
      Returns:
      accounts
    • setAccounts

      public void setAccounts(Map<String,Account> accounts)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object