Record Class UserInfoResource.UserInfoBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.rest.core.impl.resources.UserInfoResource.UserInfoBean
- Enclosing class:
UserInfoResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebusinessUnitIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.locale()Returns the value of thelocalerecord component.@Nullable StringReturns the value of theprincipalEntityPkrecord component.runEnv()Returns the value of therunEnvrecord component.booleansuccess()Returns the value of thesuccessrecord component.longtimeout()Returns the value of thetimeoutrecord component.final StringtoString()Returns a string representation of this record class.@Nullable StringReturns the value of theuserEntityPkrecord component.username()Returns the value of theusernamerecord component.
-
Constructor Details
-
UserInfoBean
public UserInfoBean(String username, @Nullable String principalEntityPk, @Nullable String userEntityPk, String businessUnitId, Locale locale, RunEnv runEnv, long timeout, boolean success) Creates an instance of aUserInfoBeanrecord class.- Parameters:
username- the value for theusernamerecord componentprincipalEntityPk- the value for theprincipalEntityPkrecord componentuserEntityPk- the value for theuserEntityPkrecord componentbusinessUnitId- the value for thebusinessUnitIdrecord componentlocale- the value for thelocalerecord componentrunEnv- the value for therunEnvrecord componenttimeout- the value for thetimeoutrecord componentsuccess- the value for thesuccessrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
username
Returns the value of theusernamerecord component.- Returns:
- the value of the
usernamerecord component
-
principalEntityPk
Returns the value of theprincipalEntityPkrecord component.- Returns:
- the value of the
principalEntityPkrecord component
-
userEntityPk
Returns the value of theuserEntityPkrecord component.- Returns:
- the value of the
userEntityPkrecord component
-
businessUnitId
Returns the value of thebusinessUnitIdrecord component.- Returns:
- the value of the
businessUnitIdrecord component
-
locale
Returns the value of thelocalerecord component.- Returns:
- the value of the
localerecord component
-
runEnv
Returns the value of therunEnvrecord component.- Returns:
- the value of the
runEnvrecord component
-
timeout
public long timeout()Returns the value of thetimeoutrecord component.- Returns:
- the value of the
timeoutrecord component
-
success
public boolean success()Returns the value of thesuccessrecord component.- Returns:
- the value of the
successrecord component
-