java.lang.Object
io.github.primelib.jira4j.restv2.model.UserKey

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class UserKey extends Object
UserKey
  • Field Details

    • accountId

      protected String accountId
      The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. Returns *unknown* if the record is deleted and corrupted, for example, as the result of a server import.
    • key

      protected String key
      This property 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.
  • Constructor Details

    • UserKey

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

      @Internal public UserKey(String accountId, String key)
      Constructs a validated instance of UserKey.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using UserKey(Consumer) instead.

      Parameters:
      accountId - The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. Returns *unknown* if the record is deleted and corrupted, for example, as the result of a server import.
      key - This property 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.
    • UserKey

      protected UserKey()
  • Method Details

    • builder

      public static UserKey.UserKeyBuilder builder()
    • accountId

      public String accountId()
      The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. Returns *unknown* if the record is deleted and corrupted, for example, as the result of a server import.
    • key

      public String key()
      This property 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.
    • accountId

      public UserKey accountId(String accountId)
      The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. Returns *unknown* if the record is deleted and corrupted, for example, as the result of a server import.
      Returns:
      this.
    • key

      public UserKey key(String key)
      This property 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