Class GetUserPropertyOperationSpec

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

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

Specification for the GetUserProperty operation.

Get user property

  • Field Details

    • VALIDATION_ENABLED

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

    • GetUserPropertyOperationSpec

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

      @Internal public GetUserPropertyOperationSpec(String propertyKey, String accountId, String userKey, String username)
      Constructs a validated instance of GetUserPropertyOperationSpec.

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

      Parameters:
      propertyKey - The key of the user's property.
      accountId - The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
      userKey - This parameter is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
      username - This parameter is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
    • GetUserPropertyOperationSpec

      protected GetUserPropertyOperationSpec()
  • Method Details

    • validate

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

    • propertyKey

      @NotNull public @NotNull String propertyKey()
      The key of the user's property.
    • accountId

      @Nullable public @Nullable String accountId()
      The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
    • userKey

      @Nullable public @Nullable String userKey()
      This parameter is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
    • username

      @Nullable public @Nullable String username()
      This parameter is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
    • propertyKey

      public GetUserPropertyOperationSpec propertyKey(@NotNull @NotNull String propertyKey)
      The key of the user's property.
      Returns:
      this.
    • accountId

      public GetUserPropertyOperationSpec accountId(@Nullable @Nullable String accountId)
      The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.
      Returns:
      this.
    • userKey

      public GetUserPropertyOperationSpec userKey(@Nullable @Nullable String userKey)
      This parameter is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
      Returns:
      this.
    • username

      public GetUserPropertyOperationSpec username(@Nullable @Nullable String username)
      This parameter is no longer available and will be removed from the documentation soon. See the [deprecation notice](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details.
      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