Class Restrictionsa50726

java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Restrictionsa50726

@Generated("io.github.primelib.primecodegen") public class Restrictionsa50726 extends Object
Restrictionsa50726

The users/groups that the restrictions will be applied to. At least one of `user` or `group` must be specified for this object.

  • Field Details

    • user

      protected List<UserItem> user
      The users that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.
    • group

      protected List<GroupIteme9D8Fc> group
      The groups that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.
  • Constructor Details

    • Restrictionsa50726

      public Restrictionsa50726(Consumer<Restrictionsa50726> spec)
      Constructs a validated instance of Restrictionsa50726.
      Parameters:
      spec - the specification to process
    • Restrictionsa50726

      @Internal public Restrictionsa50726(List<UserItem> user, List<GroupIteme9D8Fc> group)
      Constructs a validated instance of Restrictionsa50726.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Restrictionsa50726(Consumer) instead.

      Parameters:
      user - The users that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.
      group - The groups that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.
    • Restrictionsa50726

      protected Restrictionsa50726()
  • Method Details

    • user

      public List<UserItem> user()
      The users that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.
    • group

      public List<GroupIteme9D8Fc> group()
      The groups that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.
    • user

      public Restrictionsa50726 user(List<UserItem> user)
      The users that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.
      Returns:
      this.
    • group

      public Restrictionsa50726 group(List<GroupIteme9D8Fc> group)
      The groups that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.
      Returns:
      this.
    • 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