Class CorpUserInfo

    • Constructor Summary

      Constructors 
      Constructor Description
      CorpUserInfo()  
      CorpUserInfo​(CorpUserInfo source)
      NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Long getDealerId()
      Get 成员所属经销商id,可为空 注意:此字段可能返回 null,表示取不到有效值。
      String getIsLeaderInDept()
      Get 是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是 注意:此字段可能返回 null,表示取不到有效值。
      String getJobNumber()
      Get 工号 注意:此字段可能返回 null,表示取不到有效值。
      String getMainDepartment()
      Get 主部门,仅当应用对主部门有查看权限时返回 注意:此字段可能返回 null,表示取不到有效值。
      String getOrgIds()
      Get 成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割 注意:此字段可能返回 null,表示取不到有效值。
      String getPhone()
      Get 企业成员手机号 注意:此字段可能返回 null,表示取不到有效值。
      Long getShopId()
      Get 成员所属门店id,可为空 注意:此字段可能返回 null,表示取不到有效值。
      Long getStatus()
      Get 激活状态: 0=已激活,1=已禁用,-1=退出企业"
      Long getUserId()
      Get 企业成员UserId
      String getUserName()
      Get 企业成员在SaaS名片内填写的姓名 注意:此字段可能返回 null,表示取不到有效值。
      String getUserOpenId()
      Get 企业成员在企微原生通讯录内的id 注意:此字段可能返回 null,表示取不到有效值。
      void setDealerId​(Long DealerId)
      Set 成员所属经销商id,可为空 注意:此字段可能返回 null,表示取不到有效值。
      void setIsLeaderInDept​(String IsLeaderInDept)
      Set 是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是 注意:此字段可能返回 null,表示取不到有效值。
      void setJobNumber​(String JobNumber)
      Set 工号 注意:此字段可能返回 null,表示取不到有效值。
      void setMainDepartment​(String MainDepartment)
      Set 主部门,仅当应用对主部门有查看权限时返回 注意:此字段可能返回 null,表示取不到有效值。
      void setOrgIds​(String OrgIds)
      Set 成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割 注意:此字段可能返回 null,表示取不到有效值。
      void setPhone​(String Phone)
      Set 企业成员手机号 注意:此字段可能返回 null,表示取不到有效值。
      void setShopId​(Long ShopId)
      Set 成员所属门店id,可为空 注意:此字段可能返回 null,表示取不到有效值。
      void setStatus​(Long Status)
      Set 激活状态: 0=已激活,1=已禁用,-1=退出企业"
      void setUserId​(Long UserId)
      Set 企业成员UserId
      void setUserName​(String UserName)
      Set 企业成员在SaaS名片内填写的姓名 注意:此字段可能返回 null,表示取不到有效值。
      void setUserOpenId​(String UserOpenId)
      Set 企业成员在企微原生通讯录内的id 注意:此字段可能返回 null,表示取不到有效值。
      void toMap​(HashMap<String,​String> map, String prefix)
      Internal implementation, normal users should not use it.
    • Constructor Detail

      • CorpUserInfo

        public CorpUserInfo()
      • CorpUserInfo

        public CorpUserInfo​(CorpUserInfo source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getUserId

        public Long getUserId()
        Get 企业成员UserId
        Returns:
        UserId 企业成员UserId
      • setUserId

        public void setUserId​(Long UserId)
        Set 企业成员UserId
        Parameters:
        UserId - 企业成员UserId
      • getUserName

        public String getUserName()
        Get 企业成员在SaaS名片内填写的姓名 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        UserName 企业成员在SaaS名片内填写的姓名 注意:此字段可能返回 null,表示取不到有效值。
      • setUserName

        public void setUserName​(String UserName)
        Set 企业成员在SaaS名片内填写的姓名 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        UserName - 企业成员在SaaS名片内填写的姓名 注意:此字段可能返回 null,表示取不到有效值。
      • getUserOpenId

        public String getUserOpenId()
        Get 企业成员在企微原生通讯录内的id 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        UserOpenId 企业成员在企微原生通讯录内的id 注意:此字段可能返回 null,表示取不到有效值。
      • setUserOpenId

        public void setUserOpenId​(String UserOpenId)
        Set 企业成员在企微原生通讯录内的id 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        UserOpenId - 企业成员在企微原生通讯录内的id 注意:此字段可能返回 null,表示取不到有效值。
      • getDealerId

        public Long getDealerId()
        Get 成员所属经销商id,可为空 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        DealerId 成员所属经销商id,可为空 注意:此字段可能返回 null,表示取不到有效值。
      • setDealerId

        public void setDealerId​(Long DealerId)
        Set 成员所属经销商id,可为空 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        DealerId - 成员所属经销商id,可为空 注意:此字段可能返回 null,表示取不到有效值。
      • getShopId

        public Long getShopId()
        Get 成员所属门店id,可为空 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        ShopId 成员所属门店id,可为空 注意:此字段可能返回 null,表示取不到有效值。
      • setShopId

        public void setShopId​(Long ShopId)
        Set 成员所属门店id,可为空 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        ShopId - 成员所属门店id,可为空 注意:此字段可能返回 null,表示取不到有效值。
      • getPhone

        public String getPhone()
        Get 企业成员手机号 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Phone 企业成员手机号 注意:此字段可能返回 null,表示取不到有效值。
      • setPhone

        public void setPhone​(String Phone)
        Set 企业成员手机号 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Phone - 企业成员手机号 注意:此字段可能返回 null,表示取不到有效值。
      • getOrgIds

        public String getOrgIds()
        Get 成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        OrgIds 成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割 注意:此字段可能返回 null,表示取不到有效值。
      • setOrgIds

        public void setOrgIds​(String OrgIds)
        Set 成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        OrgIds - 成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割 注意:此字段可能返回 null,表示取不到有效值。
      • getMainDepartment

        public String getMainDepartment()
        Get 主部门,仅当应用对主部门有查看权限时返回 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        MainDepartment 主部门,仅当应用对主部门有查看权限时返回 注意:此字段可能返回 null,表示取不到有效值。
      • setMainDepartment

        public void setMainDepartment​(String MainDepartment)
        Set 主部门,仅当应用对主部门有查看权限时返回 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        MainDepartment - 主部门,仅当应用对主部门有查看权限时返回 注意:此字段可能返回 null,表示取不到有效值。
      • getIsLeaderInDept

        public String getIsLeaderInDept()
        Get 是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        IsLeaderInDept 是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是 注意:此字段可能返回 null,表示取不到有效值。
      • setIsLeaderInDept

        public void setIsLeaderInDept​(String IsLeaderInDept)
        Set 是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        IsLeaderInDept - 是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是 注意:此字段可能返回 null,表示取不到有效值。
      • getStatus

        public Long getStatus()
        Get 激活状态: 0=已激活,1=已禁用,-1=退出企业"
        Returns:
        Status 激活状态: 0=已激活,1=已禁用,-1=退出企业"
      • setStatus

        public void setStatus​(Long Status)
        Set 激活状态: 0=已激活,1=已禁用,-1=退出企业"
        Parameters:
        Status - 激活状态: 0=已激活,1=已禁用,-1=退出企业"
      • getJobNumber

        public String getJobNumber()
        Get 工号 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        JobNumber 工号 注意:此字段可能返回 null,表示取不到有效值。
      • setJobNumber

        public void setJobNumber​(String JobNumber)
        Set 工号 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        JobNumber - 工号 注意:此字段可能返回 null,表示取不到有效值。