Class UserBean
java.lang.Object
io.github.primelib.jira4j.restv2.model.UserBean
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UserBean
extends Object
UserBean
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe account ID of the user, which uniquely identifies the user across all Atlassian products.protected BooleanWhether the user is active.protected UserBeanAvatarUrlsprotected StringThe display name of the user.protected StringThis property is deprecated in favor ofaccountIdbecause of privacy changes.protected StringThis property is deprecated in favor ofaccountIdbecause of privacy changes.protected URIThe URL of the user. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe account ID of the user, which uniquely identifies the user across all Atlassian products.The account ID of the user, which uniquely identifies the user across all Atlassian products.active()Whether the user is active.Whether the user is active.avatarUrls(UserBeanAvatarUrls avatarUrls) static UserBean.UserBeanBuilderbuilder()protected booleanThe display name of the user.displayName(String displayName) The display name of the user.booleaninthashCode()key()This property is deprecated in favor ofaccountIdbecause of privacy changes.This property is deprecated in favor ofaccountIdbecause of privacy changes.name()This property is deprecated in favor ofaccountIdbecause of privacy changes.This property is deprecated in favor ofaccountIdbecause of privacy changes.self()The URL of the user.The URL of the user.toString()
-
Field Details
-
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. -
active
Whether the user is active. -
avatarUrls
-
displayName
The display name of the user. Depending on the user’s privacy setting, this may return an alternative value. -
key
This property is deprecated in favor ofaccountIdbecause of privacy changes. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The key of the user. -
name
This property is deprecated in favor ofaccountIdbecause of privacy changes. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The username of the user. -
self
The URL of the user.
-
-
Constructor Details
-
UserBean
Constructs a validated instance ofUserBean.- Parameters:
spec- the specification to process
-
UserBean
@Internal public UserBean(String accountId, Boolean active, UserBeanAvatarUrls avatarUrls, String displayName, String key, String name, URI self) Constructs a validated instance ofUserBean.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
UserBean(Consumer)instead.- Parameters:
accountId- The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.active- Whether the user is active.avatarUrls- avatarUrlsdisplayName- The display name of the user. Depending on the user’s privacy setting, this may return an alternative value.key- This property is deprecated in favor ofaccountIdbecause of privacy changes. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The key of the user.name- This property is deprecated in favor ofaccountIdbecause of privacy changes. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The username of the user.self- The URL of the user.
-
UserBean
protected UserBean()
-
-
Method Details
-
builder
-
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*. -
active
Whether the user is active. -
avatarUrls
-
displayName
The display name of the user. Depending on the user’s privacy setting, this may return an alternative value. -
key
This property is deprecated in favor ofaccountIdbecause of privacy changes. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The key of the user. -
name
This property is deprecated in favor ofaccountIdbecause of privacy changes. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The username of the user. -
self
The URL of the user. -
accountId
The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, *5b10ac8d82e05b22cc7d4ef5*.- Returns:
this.
-
active
Whether the user is active.- Returns:
this.
-
avatarUrls
- Returns:
this.
-
displayName
The display name of the user. Depending on the user’s privacy setting, this may return an alternative value.- Returns:
this.
-
key
This property is deprecated in favor ofaccountIdbecause of privacy changes. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The key of the user.- Returns:
this.
-
name
This property is deprecated in favor ofaccountIdbecause of privacy changes. See the [migration guide](https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-user-privacy-api-migration-guide/) for details. The username of the user.- Returns:
this.
-
self
The URL of the user.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-