Class GetApplicationRoleOperationSpec

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

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

Specification for the GetApplicationRole operation.

Get application role

  • Field Details

    • VALIDATION_ENABLED

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

    • GetApplicationRoleOperationSpec

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

      @Internal public GetApplicationRoleOperationSpec(String key)
      Constructs a validated instance of GetApplicationRoleOperationSpec.

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

      Parameters:
      key - The key of the application role. Use the [Get all application roles](#api-rest-api-3-applicationrole-get) operation to get the key for each application role.
    • GetApplicationRoleOperationSpec

      protected GetApplicationRoleOperationSpec()
  • Method Details

    • validate

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

    • key

      @NotNull public @NotNull String key()
      The key of the application role. Use the [Get all application roles](#api-rest-api-3-applicationrole-get) operation to get the key for each application role.
    • key

      public GetApplicationRoleOperationSpec key(@NotNull @NotNull String key)
      The key of the application role. Use the [Get all application roles](#api-rest-api-3-applicationrole-get) operation to get the key for each application role.
      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