Record Class User
java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.User
- Record Components:
etag- the entity's ETag (@odata.etag), forIf-Matchname- The unique name of the user.friendlyName- The friendly name, also known as the display name, of the user. (since 10.2.2.5)password- The password for the user.type- The type of the user. (since 10.2.2.4)isActive- A Boolean that indicates whether the user is currently logged in to the TM1 server.enabled- A Boolean that indicates whether the user is enabled. (since 11.0.0)groups- The defined groups that the user belongs to. (when expanded)sessions- The set of currently active sessions of this user. (when expanded) (since 10.2.2.5)
@Generated("io.skipcheck.tm1.codegen")
public record User(@Nullable String etag, @Nullable String name, @Since("10.2.2.5") @Nullable String friendlyName, @Nullable String password, @Since("10.2.2.4") @Nullable UserType type, @Nullable Boolean isActive, @Since("11.0.0") @Nullable Boolean enabled, @Nullable List<Group> groups, @Since("10.2.2.5") @Nullable List<Session> sessions)
extends Record
A user on a TM1 server.
Generated from $metadata. Every component is nullable: $select can leave any property out, and navigation properties are only there when expanded. Null components aren't sent.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ODataPropertyEnabled, for queries: A Boolean that indicates whether the user is enabled.static final ODataPropertyFriendlyName, for queries: The friendly name, also known as the display name, of the user.static final ODataPropertyGroups, for queries: The defined groups that the user belongs to.static final ODataPropertyIsActive, for queries: A Boolean that indicates whether the user is currently logged in to the TM1 server.static final ODataPropertyName, for queries: The unique name of the user.static final ODataPropertyPassword, for queries: The password for the user.static final ODataPropertySessions, for queries: The set of currently active sessions of this user.static final ODataPropertyType, for queries: The type of the user. -
Constructor Summary
ConstructorsConstructorDescriptionUser(@Nullable String etag, @Nullable String name, @Nullable String friendlyName, @Nullable String password, @Nullable UserType type, @Nullable Boolean isActive, @Nullable Boolean enabled, @Nullable List<Group> groups, @Nullable List<Session> sessions) Creates an instance of aUserrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Booleanenabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.@Nullable Stringetag()Returns the value of theetagrecord component.@Nullable StringReturns the value of thefriendlyNamerecord component.groups()Returns the value of thegroupsrecord component.final inthashCode()Returns a hash code value for this object.@Nullable BooleanisActive()Returns the value of theisActiverecord component.@Nullable Stringname()Returns the value of thenamerecord component.@Nullable Stringpassword()Returns the value of thepasswordrecord component.sessions()Returns the value of thesessionsrecord component.final StringtoString()Returns a string representation of this record class.@Nullable UserTypetype()Returns the value of thetyperecord component.
-
Field Details
-
NAME
Name, for queries: The unique name of the user. -
FRIENDLY_NAME
FriendlyName, for queries: The friendly name, also known as the display name, of the user. -
PASSWORD
Password, for queries: The password for the user. -
TYPE
Type, for queries: The type of the user. -
IS_ACTIVE
IsActive, for queries: A Boolean that indicates whether the user is currently logged in to the TM1 server. -
ENABLED
Enabled, for queries: A Boolean that indicates whether the user is enabled. -
GROUPS
Groups, for queries: The defined groups that the user belongs to. (a navigation property, for$expand) -
SESSIONS
Sessions, for queries: The set of currently active sessions of this user. (a navigation property, for$expand)
-
-
Constructor Details
-
User
public User(@Nullable String etag, @Nullable String name, @Nullable String friendlyName, @Nullable String password, @Nullable UserType type, @Nullable Boolean isActive, @Nullable Boolean enabled, @Nullable List<Group> groups, @Nullable List<Session> sessions) Creates an instance of aUserrecord class.- Parameters:
etag- the value for theetagrecord componentname- the value for thenamerecord componentfriendlyName- the value for thefriendlyNamerecord componentpassword- the value for thepasswordrecord componenttype- the value for thetyperecord componentisActive- the value for theisActiverecord componentenabled- the value for theenabledrecord componentgroups- the value for thegroupsrecord componentsessions- the value for thesessionsrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
etag
-
name
-
friendlyName
Returns the value of thefriendlyNamerecord component.- Returns:
- the value of the
friendlyNamerecord component
-
password
-
type
-
isActive
-
enabled
-
groups
-
sessions
-