Klasse AddUserToGroupOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv2.spec.AddUserToGroupOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class AddUserToGroupOperationSpec extends Object
AddUserToGroupSpec

Specification for the AddUserToGroup operation.

Add user to group

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

    • AddUserToGroupOperationSpec

      @Internal public AddUserToGroupOperationSpec(Consumer<AddUserToGroupOperationSpec> spec)
      Constructs a validated instance of AddUserToGroupOperationSpec.
      Parameter:
      spec - the specification to process
    • AddUserToGroupOperationSpec

      @Internal public AddUserToGroupOperationSpec(UpdateUserToGroupBean updateUserToGroupBean, String groupname, String groupId)
      Constructs a validated instance of AddUserToGroupOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      updateUserToGroupBean - The user to add to the group.
      groupname - As a group's name can change, use of groupId is recommended to identify a group. The name of the group. This parameter cannot be used with the groupId parameter.
      groupId - The ID of the group. This parameter cannot be used with the groupName parameter.
    • AddUserToGroupOperationSpec

      protected AddUserToGroupOperationSpec()
  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      NullPointerException
    • builder

    • updateUserToGroupBean

      @NotNull public @NotNull UpdateUserToGroupBean updateUserToGroupBean()
      The user to add to the group.
    • groupname

      @Nullable public @Nullable String groupname()
      As a group's name can change, use of groupId is recommended to identify a group. The name of the group. This parameter cannot be used with the groupId parameter.
    • groupId

      @Nullable public @Nullable String groupId()
      The ID of the group. This parameter cannot be used with the groupName parameter.
    • updateUserToGroupBean

      public AddUserToGroupOperationSpec updateUserToGroupBean(@NotNull @NotNull UpdateUserToGroupBean updateUserToGroupBean)
      The user to add to the group.
      Gibt zurück:
      this.
    • groupname

      public AddUserToGroupOperationSpec groupname(@Nullable @Nullable String groupname)
      As a group's name can change, use of groupId is recommended to identify a group. The name of the group. This parameter cannot be used with the groupId parameter.
      Gibt zurück:
      this.
    • groupId

      public AddUserToGroupOperationSpec groupId(@Nullable @Nullable String groupId)
      The ID of the group. This parameter cannot be used with the groupName parameter.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object