Class CorpUserInfo

    • Constructor Detail

      • CorpUserInfo

        public CorpUserInfo()
    • Method Detail

      • get__type

        @NotNull
        public @NotNull java.lang.String get__type()
        Name of this subclass in SimpleClassName format
        Returns:
        __type
      • active

        public CorpUserInfo active​(java.lang.Boolean active)
      • isActive

        @NotNull
        public @NotNull java.lang.Boolean isActive()
        Deprecated! Use CorpUserStatus instead. Whether the corpUser is active, ref: https://iwww.corp.linkedin.com/wiki/cf/display/GTSD/Accessing+Active+Directory+via+LDAP+tools
        Returns:
        active
      • setActive

        public void setActive​(java.lang.Boolean active)
      • displayName

        public CorpUserInfo displayName​(java.lang.String displayName)
      • getDisplayName

        public java.lang.String getDisplayName()
        displayName of this user , e.g. Hang Zhang(DataHQ)
        Returns:
        displayName
      • setDisplayName

        public void setDisplayName​(java.lang.String displayName)
      • email

        public CorpUserInfo email​(java.lang.String email)
      • getEmail

        public java.lang.String getEmail()
        email address of this user
        Returns:
        email
      • setEmail

        public void setEmail​(java.lang.String email)
      • title

        public CorpUserInfo title​(java.lang.String title)
      • getTitle

        public java.lang.String getTitle()
        title of this user
        Returns:
        title
      • setTitle

        public void setTitle​(java.lang.String title)
      • managerUrn

        public CorpUserInfo managerUrn​(java.lang.String managerUrn)
      • getManagerUrn

        public java.lang.String getManagerUrn()
        direct manager of this user
        Returns:
        managerUrn
      • setManagerUrn

        public void setManagerUrn​(java.lang.String managerUrn)
      • departmentId

        public CorpUserInfo departmentId​(java.lang.Long departmentId)
      • getDepartmentId

        @Min(-9223372036854775808L)
        @Max(9223372036854775807L)
        public @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getDepartmentId()
        department id this user belong to minimum: -9223372036854775808 maximum: 9223372036854775807
        Returns:
        departmentId
      • setDepartmentId

        public void setDepartmentId​(java.lang.Long departmentId)
      • departmentName

        public CorpUserInfo departmentName​(java.lang.String departmentName)
      • getDepartmentName

        public java.lang.String getDepartmentName()
        department name this user belong to
        Returns:
        departmentName
      • setDepartmentName

        public void setDepartmentName​(java.lang.String departmentName)
      • firstName

        public CorpUserInfo firstName​(java.lang.String firstName)
      • getFirstName

        public java.lang.String getFirstName()
        first name of this user
        Returns:
        firstName
      • setFirstName

        public void setFirstName​(java.lang.String firstName)
      • lastName

        public CorpUserInfo lastName​(java.lang.String lastName)
      • getLastName

        public java.lang.String getLastName()
        last name of this user
        Returns:
        lastName
      • setLastName

        public void setLastName​(java.lang.String lastName)
      • fullName

        public CorpUserInfo fullName​(java.lang.String fullName)
      • getFullName

        public java.lang.String getFullName()
        Common name of this user, format is firstName + lastName (split by a whitespace)
        Returns:
        fullName
      • setFullName

        public void setFullName​(java.lang.String fullName)
      • countryCode

        public CorpUserInfo countryCode​(java.lang.String countryCode)
      • getCountryCode

        public java.lang.String getCountryCode()
        two uppercase letters country code. e.g. US
        Returns:
        countryCode
      • setCountryCode

        public void setCountryCode​(java.lang.String countryCode)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object