Record Class User

java.lang.Object
java.lang.Record
io.skipcheck.tm1.client.model.User
Record Components:
etag - the entity's ETag (@odata.etag), for If-Match
name - 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 Details

    • NAME

      public static final ODataProperty NAME
      Name, for queries: The unique name of the user.
    • FRIENDLY_NAME

      @Since("10.2.2.5") public static final ODataProperty FRIENDLY_NAME
      FriendlyName, for queries: The friendly name, also known as the display name, of the user.
    • PASSWORD

      public static final ODataProperty PASSWORD
      Password, for queries: The password for the user.
    • TYPE

      @Since("10.2.2.4") public static final ODataProperty TYPE
      Type, for queries: The type of the user.
    • IS_ACTIVE

      public static final ODataProperty IS_ACTIVE
      IsActive, for queries: A Boolean that indicates whether the user is currently logged in to the TM1 server.
    • ENABLED

      @Since("11.0.0") public static final ODataProperty ENABLED
      Enabled, for queries: A Boolean that indicates whether the user is enabled.
    • GROUPS

      public static final ODataProperty GROUPS
      Groups, for queries: The defined groups that the user belongs to. (a navigation property, for $expand)
    • SESSIONS

      @Since("10.2.2.5") public static final ODataProperty 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 a User record class.
      Parameters:
      etag - the value for the etag record component
      name - the value for the name record component
      friendlyName - the value for the friendlyName record component
      password - the value for the password record component
      type - the value for the type record component
      isActive - the value for the isActive record component
      enabled - the value for the enabled record component
      groups - the value for the groups record component
      sessions - the value for the sessions record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • etag

      public @Nullable String etag()
      Returns the value of the etag record component.
      Returns:
      the value of the etag record component
    • name

      public @Nullable String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • friendlyName

      @Since("10.2.2.5") public @Nullable String friendlyName()
      Returns the value of the friendlyName record component.
      Returns:
      the value of the friendlyName record component
    • password

      public @Nullable String password()
      Returns the value of the password record component.
      Returns:
      the value of the password record component
    • type

      @Since("10.2.2.4") public @Nullable UserType type()
      Returns the value of the type record component.
      Returns:
      the value of the type record component
    • isActive

      public @Nullable Boolean isActive()
      Returns the value of the isActive record component.
      Returns:
      the value of the isActive record component
    • enabled

      @Since("11.0.0") public @Nullable Boolean enabled()
      Returns the value of the enabled record component.
      Returns:
      the value of the enabled record component
    • groups

      public @Nullable List<Group> groups()
      Returns the value of the groups record component.
      Returns:
      the value of the groups record component
    • sessions

      @Since("10.2.2.5") public @Nullable List<Session> sessions()
      Returns the value of the sessions record component.
      Returns:
      the value of the sessions record component