Class Entity


  • @Generated(value="org.openapitools.codegen.languages.SpringCodegen",
               date="2023-05-26T13:30:00.829209Z[GMT]")
    public class Entity
    extends java.lang.Object
    Entity
    • Constructor Detail

      • Entity

        public Entity()
    • 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

        @Valid
        public @Valid 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

        @Valid
        public @Valid 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