Class AssignPermissionSchemeOperationSpec

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

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

Specification for the AssignPermissionScheme operation.

Assign permission scheme

  • Field Details

    • VALIDATION_ENABLED

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

    • AssignPermissionSchemeOperationSpec

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

      @Internal public AssignPermissionSchemeOperationSpec(String projectKeyOrId, IdBean idBean, String expand)
      Constructs a validated instance of AssignPermissionSchemeOperationSpec.

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

      Parameters:
      projectKeyOrId - The project ID or project key (case sensitive).
      idBean -
      expand - Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include: * all Returns all expandable information. * field Returns information about the custom field granted the permission. * group Returns information about the group that is granted the permission. * permissions Returns all permission grants for each permission scheme. * projectRole Returns information about the project role granted the permission. * user Returns information about the user who is granted the permission.
    • AssignPermissionSchemeOperationSpec

      protected AssignPermissionSchemeOperationSpec()
  • Method Details

    • validate

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

    • projectKeyOrId

      @NotNull public @NotNull String projectKeyOrId()
      The project ID or project key (case sensitive).
    • idBean

      @NotNull public @NotNull IdBean idBean()
    • expand

      @Nullable public @Nullable String expand()
      Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include: * all Returns all expandable information. * field Returns information about the custom field granted the permission. * group Returns information about the group that is granted the permission. * permissions Returns all permission grants for each permission scheme. * projectRole Returns information about the project role granted the permission. * user Returns information about the user who is granted the permission.
    • projectKeyOrId

      public AssignPermissionSchemeOperationSpec projectKeyOrId(@NotNull @NotNull String projectKeyOrId)
      The project ID or project key (case sensitive).
      Returns:
      this.
    • idBean

      public AssignPermissionSchemeOperationSpec idBean(@NotNull @NotNull IdBean idBean)
      Returns:
      this.
    • expand

      public AssignPermissionSchemeOperationSpec expand(@Nullable @Nullable String expand)
      Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include: * all Returns all expandable information. * field Returns information about the custom field granted the permission. * group Returns information about the group that is granted the permission. * permissions Returns all permission grants for each permission scheme. * projectRole Returns information about the project role granted the permission. * user Returns information about the user who is granted the permission.
      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