Module bus.gitlab

Class ApprovedBy

java.lang.Object
org.miaixz.bus.gitlab.models.ApprovedBy
All Implemented Interfaces:
Serializable

public class ApprovedBy extends Object implements Serializable
This class is used by various models to represent the approved_by property, which can contain a User or Group instance.
See Also:
  • Constructor Details

    • ApprovedBy

      public ApprovedBy()
  • Method Details

    • getUser

      public User getUser()
    • setUser

      public void setUser(User user)
    • getGroup

      public Group getGroup()
    • setGroup

      public void setGroup(Group group)
    • getApprovedBy

      public Object getApprovedBy()
      Return the user or group that represents this ApprovedBy instance. Returned object will either be an instance of a User or Group.
      Returns:
      the user or group that represents this ApprovedBy instance
    • toString

      public String toString()
      Overrides:
      toString in class Object