Class IamUser
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.IamUser
-
public class IamUser extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIamUser.Builder
-
Constructor Summary
Constructors Constructor Description IamUser()IamUser(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> primaryEmailAddress, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> username, org.openapitools.jackson.nullable.JsonNullable<? extends IsBotUser> isBotUser, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<IamRole>> roles, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<IamGroup>> groups, org.openapitools.jackson.nullable.JsonNullable<? extends IamUserStatus> status, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastActiveAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastLoginAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<IamMfaTypeEnum>> multiFactorEnabled, org.openapitools.jackson.nullable.JsonNullable<? extends IamUserAvatar> avatar)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openapitools.jackson.nullable.JsonNullable<IamUserAvatar>avatar()The user's avatar data.static IamUser.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>createdAt()The date the user was createdbooleanequals(java.lang.Object o)org.openapitools.jackson.nullable.JsonNullable<java.lang.String>firstName()org.openapitools.jackson.nullable.JsonNullable<java.util.List<IamGroup>>groups()List of groups the user is assigned tointhashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<IsBotUser>isBotUser()Indicates if the user is a bot or service userorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>lastActiveAt()The date this user was last activeorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>lastLoginAt()The date this user last logged inorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>lastName()org.openapitools.jackson.nullable.JsonNullable<java.util.List<IamMfaTypeEnum>>multiFactorEnabled()The list of Multi-Factor Authentication (MFA) types enabled for the user.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>name()User's name which (can be a full name or display name)org.openapitools.jackson.nullable.JsonNullable<java.lang.String>primaryEmailAddress()Primary email address of the user.org.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.util.List<IamRole>>roles()List of roles the user is assigned toorg.openapitools.jackson.nullable.JsonNullable<IamUserStatus>status()java.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<java.util.Map<java.lang.String,java.lang.Object>>unifiedCustomFields()Custom Unified Fields configured in your StackOne projectorg.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>updatedAt()The date the user was createdorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>username()IamUserwithAvatar(IamUserAvatar avatar)The user's avatar data.IamUserwithAvatar(org.openapitools.jackson.nullable.JsonNullable<? extends IamUserAvatar> avatar)The user's avatar data.IamUserwithCreatedAt(java.time.OffsetDateTime createdAt)The date the user was createdIamUserwithCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)The date the user was createdIamUserwithFirstName(java.lang.String firstName)IamUserwithFirstName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName)IamUserwithGroups(java.util.List<IamGroup> groups)List of groups the user is assigned toIamUserwithGroups(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<IamGroup>> groups)List of groups the user is assigned toIamUserwithId(java.lang.String id)Unique identifierIamUserwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierIamUserwithIsBotUser(IsBotUser isBotUser)Indicates if the user is a bot or service userIamUserwithIsBotUser(org.openapitools.jackson.nullable.JsonNullable<? extends IsBotUser> isBotUser)Indicates if the user is a bot or service userIamUserwithLastActiveAt(java.time.OffsetDateTime lastActiveAt)The date this user was last activeIamUserwithLastActiveAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastActiveAt)The date this user was last activeIamUserwithLastLoginAt(java.time.OffsetDateTime lastLoginAt)The date this user last logged inIamUserwithLastLoginAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastLoginAt)The date this user last logged inIamUserwithLastName(java.lang.String lastName)IamUserwithLastName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName)IamUserwithMultiFactorEnabled(java.util.List<IamMfaTypeEnum> multiFactorEnabled)The list of Multi-Factor Authentication (MFA) types enabled for the user.IamUserwithMultiFactorEnabled(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<IamMfaTypeEnum>> multiFactorEnabled)The list of Multi-Factor Authentication (MFA) types enabled for the user.IamUserwithName(java.lang.String name)User's name which (can be a full name or display name)IamUserwithName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)User's name which (can be a full name or display name)IamUserwithPrimaryEmailAddress(java.lang.String primaryEmailAddress)Primary email address of the user.IamUserwithPrimaryEmailAddress(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> primaryEmailAddress)Primary email address of the user.IamUserwithRemoteId(java.lang.String remoteId)Provider's unique identifierIamUserwithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierIamUserwithRoles(java.util.List<IamRole> roles)List of roles the user is assigned toIamUserwithRoles(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<IamRole>> roles)List of roles the user is assigned toIamUserwithStatus(IamUserStatus status)IamUserwithStatus(org.openapitools.jackson.nullable.JsonNullable<? extends IamUserStatus> status)IamUserwithUnifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectIamUserwithUnifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectIamUserwithUpdatedAt(java.time.OffsetDateTime updatedAt)The date the user was createdIamUserwithUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)The date the user was createdIamUserwithUsername(java.lang.String username)IamUserwithUsername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> username)
-
-
-
Constructor Detail
-
IamUser
public IamUser(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> primaryEmailAddress, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> username, org.openapitools.jackson.nullable.JsonNullable<? extends IsBotUser> isBotUser, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<IamRole>> roles, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<IamGroup>> groups, org.openapitools.jackson.nullable.JsonNullable<? extends IamUserStatus> status, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastActiveAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastLoginAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<IamMfaTypeEnum>> multiFactorEnabled, org.openapitools.jackson.nullable.JsonNullable<? extends IamUserAvatar> avatar)
-
IamUser
public IamUser()
-
-
Method Detail
-
id
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
Unique identifier
-
remoteId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
Provider's unique identifier
-
unifiedCustomFields
public org.openapitools.jackson.nullable.JsonNullable<java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields()
Custom Unified Fields configured in your StackOne project
-
primaryEmailAddress
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> primaryEmailAddress()
Primary email address of the user. This is generally a work email address.
-
firstName
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName()
-
lastName
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName()
-
name
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name()
User's name which (can be a full name or display name)
-
username
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> username()
-
isBotUser
public org.openapitools.jackson.nullable.JsonNullable<IsBotUser> isBotUser()
Indicates if the user is a bot or service user
-
roles
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<IamRole>> roles()
List of roles the user is assigned to
-
groups
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<IamGroup>> groups()
List of groups the user is assigned to
-
status
public org.openapitools.jackson.nullable.JsonNullable<IamUserStatus> status()
-
lastActiveAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastActiveAt()
The date this user was last active
-
lastLoginAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastLoginAt()
The date this user last logged in
-
createdAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
The date the user was created
-
updatedAt
public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
The date the user was created
-
multiFactorEnabled
public org.openapitools.jackson.nullable.JsonNullable<java.util.List<IamMfaTypeEnum>> multiFactorEnabled()
The list of Multi-Factor Authentication (MFA) types enabled for the user.
-
avatar
public org.openapitools.jackson.nullable.JsonNullable<IamUserAvatar> avatar()
The user's avatar data. This generally contains a URL within this property's 'contents' array.
-
builder
public static final IamUser.Builder builder()
-
withId
public IamUser withId(java.lang.String id)
Unique identifier
-
withId
public IamUser withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public IamUser withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public IamUser withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withUnifiedCustomFields
public IamUser withUnifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
withUnifiedCustomFields
public IamUser withUnifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)
Custom Unified Fields configured in your StackOne project
-
withPrimaryEmailAddress
public IamUser withPrimaryEmailAddress(java.lang.String primaryEmailAddress)
Primary email address of the user. This is generally a work email address.
-
withPrimaryEmailAddress
public IamUser withPrimaryEmailAddress(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> primaryEmailAddress)
Primary email address of the user. This is generally a work email address.
-
withFirstName
public IamUser withFirstName(java.lang.String firstName)
-
withFirstName
public IamUser withFirstName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> firstName)
-
withLastName
public IamUser withLastName(java.lang.String lastName)
-
withLastName
public IamUser withLastName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> lastName)
-
withName
public IamUser withName(java.lang.String name)
User's name which (can be a full name or display name)
-
withName
public IamUser withName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
User's name which (can be a full name or display name)
-
withUsername
public IamUser withUsername(java.lang.String username)
-
withUsername
public IamUser withUsername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> username)
-
withIsBotUser
public IamUser withIsBotUser(IsBotUser isBotUser)
Indicates if the user is a bot or service user
-
withIsBotUser
public IamUser withIsBotUser(org.openapitools.jackson.nullable.JsonNullable<? extends IsBotUser> isBotUser)
Indicates if the user is a bot or service user
-
withRoles
public IamUser withRoles(java.util.List<IamRole> roles)
List of roles the user is assigned to
-
withRoles
public IamUser withRoles(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<IamRole>> roles)
List of roles the user is assigned to
-
withGroups
public IamUser withGroups(java.util.List<IamGroup> groups)
List of groups the user is assigned to
-
withGroups
public IamUser withGroups(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<IamGroup>> groups)
List of groups the user is assigned to
-
withStatus
public IamUser withStatus(IamUserStatus status)
-
withStatus
public IamUser withStatus(org.openapitools.jackson.nullable.JsonNullable<? extends IamUserStatus> status)
-
withLastActiveAt
public IamUser withLastActiveAt(java.time.OffsetDateTime lastActiveAt)
The date this user was last active
-
withLastActiveAt
public IamUser withLastActiveAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastActiveAt)
The date this user was last active
-
withLastLoginAt
public IamUser withLastLoginAt(java.time.OffsetDateTime lastLoginAt)
The date this user last logged in
-
withLastLoginAt
public IamUser withLastLoginAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> lastLoginAt)
The date this user last logged in
-
withCreatedAt
public IamUser withCreatedAt(java.time.OffsetDateTime createdAt)
The date the user was created
-
withCreatedAt
public IamUser withCreatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
The date the user was created
-
withUpdatedAt
public IamUser withUpdatedAt(java.time.OffsetDateTime updatedAt)
The date the user was created
-
withUpdatedAt
public IamUser withUpdatedAt(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
The date the user was created
-
withMultiFactorEnabled
public IamUser withMultiFactorEnabled(java.util.List<IamMfaTypeEnum> multiFactorEnabled)
The list of Multi-Factor Authentication (MFA) types enabled for the user.
-
withMultiFactorEnabled
public IamUser withMultiFactorEnabled(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<IamMfaTypeEnum>> multiFactorEnabled)
The list of Multi-Factor Authentication (MFA) types enabled for the user.
-
withAvatar
public IamUser withAvatar(IamUserAvatar avatar)
The user's avatar data. This generally contains a URL within this property's 'contents' array.
-
withAvatar
public IamUser withAvatar(org.openapitools.jackson.nullable.JsonNullable<? extends IamUserAvatar> avatar)
The user's avatar data. This generally contains a URL within this property's 'contents' array.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-