Class Entity


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

      • Entity

        public Entity()
      • Entity

        public Entity​(java.lang.String description)
        Constructor with only required parameters
    • 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)
      • users

        public Entity users​(java.util.Map<java.lang.String,​User> users)
      • putUsersItem

        public Entity putUsersItem​(java.lang.String key,
                                   User usersItem)
      • 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)
      • accounts

        public Entity accounts​(java.util.Map<java.lang.String,​Account> accounts)
      • putAccountsItem

        public Entity putAccountsItem​(java.lang.String key,
                                      Account accountsItem)
      • 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 class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object