Klasse GetPermissionSchemeGrantsOperationSpec

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

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

Specification for the GetPermissionSchemeGrants operation.

Get permission scheme grants

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetPermissionSchemeGrantsOperationSpec

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

      @Internal public GetPermissionSchemeGrantsOperationSpec(Long schemeId, String expand)
      Constructs a validated instance of GetPermissionSchemeGrantsOperationSpec.

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

      Parameter:
      schemeId - The ID of the permission scheme.
      expand - Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are always included when you specify any value. Expand options include: * permissions Returns all permission grants for each permission scheme. * user Returns information about the user who is granted the permission. * group Returns information about the group that is granted the permission. * projectRole Returns information about the project role granted the permission. * field Returns information about the custom field granted the permission. * all Returns all expandable information.
    • GetPermissionSchemeGrantsOperationSpec

      protected GetPermissionSchemeGrantsOperationSpec()
  • Methodendetails

    • validate

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

    • schemeId

      @NotNull public @NotNull Long schemeId()
      The ID of the permission scheme.
    • expand

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

      public GetPermissionSchemeGrantsOperationSpec schemeId(@NotNull @NotNull Long schemeId)
      The ID of the permission scheme.
      Gibt zurück:
      this.
    • expand

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