Class Account

java.lang.Object
co.yellowdog.platform.model.Account
All Implemented Interfaces:
Identified, Named, Serializable

public class Account extends Object implements Identified, Named, Serializable
Represents a user account within the YellowDog Platform.
See Also:
  • Method Details

    • builder

      public static Account.Builder builder()
    • getId

      public String getId()
      Description copied from interface: Identified
      Returns the ID
      Specified by:
      getId in interface Identified
      Returns:
      the ID
    • getName

      public String getName()
      Description copied from interface: Named
      Returns the name
      Specified by:
      getName in interface Named
      Returns:
      the name
    • getFeatures

      public List<@NotNull Feature> getFeatures()
    • setId

      public void setId(String id)
    • setName

      public void setName(String name)
    • setFeatures

      public void setFeatures(List<@NotNull Feature> features)
    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object