Class GetGroupOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetGroupOperationSpec

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

Specification for the GetGroup operation.

Get group

  • Field Details

    • VALIDATION_ENABLED

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

    • GetGroupOperationSpec

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

      @Internal public GetGroupOperationSpec(String groupname, String groupId, String expand)
      Constructs a validated instance of GetGroupOperationSpec.

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

      Parameters:
      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.
      expand - List of fields to expand.
    • GetGroupOperationSpec

      protected GetGroupOperationSpec()
  • Method Details

    • validate

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

    • 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.
    • expand

      @Nullable public @Nullable String expand()
      List of fields to expand.
    • groupname

      public GetGroupOperationSpec 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.
      Returns:
      this.
    • groupId

      public GetGroupOperationSpec groupId(@Nullable @Nullable String groupId)
      The ID of the group. This parameter cannot be used with the groupName parameter.
      Returns:
      this.
    • expand

      public GetGroupOperationSpec expand(@Nullable @Nullable String expand)
      List of fields to expand.
      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