Class: TencentCloud::Wav::V20210129::CorpUserInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210129/models.rb

Overview

企业成员信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(userid = nil, username = nil, useropenid = nil, dealerid = nil, shopid = nil, phone = nil, orgids = nil, maindepartment = nil, isleaderindept = nil, status = nil, jobnumber = nil) ⇒ CorpUserInfo

Returns a new instance of CorpUserInfo.



681
682
683
684
685
686
687
688
689
690
691
692
693
# File 'lib/v20210129/models.rb', line 681

def initialize(userid=nil, username=nil, useropenid=nil, dealerid=nil, shopid=nil, phone=nil, orgids=nil, maindepartment=nil, isleaderindept=nil, status=nil, jobnumber=nil)
  @UserId = userid
  @UserName = username
  @UserOpenId = useropenid
  @DealerId = dealerid
  @ShopId = shopid
  @Phone = phone
  @OrgIds = orgids
  @MainDepartment = maindepartment
  @IsLeaderInDept = isleaderindept
  @Status = status
  @JobNumber = jobnumber
end

Instance Attribute Details

#DealerIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • UserId:

    企业成员UserId

  • UserName:

    企业成员在SaaS名片内填写的姓名

  • UserOpenId:

    企业成员在企微原生通讯录内的id

  • DealerId:

    成员所属经销商id,可为空

  • ShopId:

    成员所属门店id,可为空

  • Phone:

    企业成员手机号

  • OrgIds:

    成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割

  • MainDepartment:

    主部门,仅当应用对主部门有查看权限时返回

  • IsLeaderInDept:

    是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是

  • Status:

    激活状态: 0=已激活,1=已禁用,-1=退出企业“

  • JobNumber:

    工号



679
680
681
# File 'lib/v20210129/models.rb', line 679

def DealerId
  @DealerId
end

#IsLeaderInDeptObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • UserId:

    企业成员UserId

  • UserName:

    企业成员在SaaS名片内填写的姓名

  • UserOpenId:

    企业成员在企微原生通讯录内的id

  • DealerId:

    成员所属经销商id,可为空

  • ShopId:

    成员所属门店id,可为空

  • Phone:

    企业成员手机号

  • OrgIds:

    成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割

  • MainDepartment:

    主部门,仅当应用对主部门有查看权限时返回

  • IsLeaderInDept:

    是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是

  • Status:

    激活状态: 0=已激活,1=已禁用,-1=退出企业“

  • JobNumber:

    工号



679
680
681
# File 'lib/v20210129/models.rb', line 679

def IsLeaderInDept
  @IsLeaderInDept
end

#JobNumberObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • UserId:

    企业成员UserId

  • UserName:

    企业成员在SaaS名片内填写的姓名

  • UserOpenId:

    企业成员在企微原生通讯录内的id

  • DealerId:

    成员所属经销商id,可为空

  • ShopId:

    成员所属门店id,可为空

  • Phone:

    企业成员手机号

  • OrgIds:

    成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割

  • MainDepartment:

    主部门,仅当应用对主部门有查看权限时返回

  • IsLeaderInDept:

    是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是

  • Status:

    激活状态: 0=已激活,1=已禁用,-1=退出企业“

  • JobNumber:

    工号



679
680
681
# File 'lib/v20210129/models.rb', line 679

def JobNumber
  @JobNumber
end

#MainDepartmentObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • UserId:

    企业成员UserId

  • UserName:

    企业成员在SaaS名片内填写的姓名

  • UserOpenId:

    企业成员在企微原生通讯录内的id

  • DealerId:

    成员所属经销商id,可为空

  • ShopId:

    成员所属门店id,可为空

  • Phone:

    企业成员手机号

  • OrgIds:

    成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割

  • MainDepartment:

    主部门,仅当应用对主部门有查看权限时返回

  • IsLeaderInDept:

    是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是

  • Status:

    激活状态: 0=已激活,1=已禁用,-1=退出企业“

  • JobNumber:

    工号



679
680
681
# File 'lib/v20210129/models.rb', line 679

def MainDepartment
  @MainDepartment
end

#OrgIdsObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • UserId:

    企业成员UserId

  • UserName:

    企业成员在SaaS名片内填写的姓名

  • UserOpenId:

    企业成员在企微原生通讯录内的id

  • DealerId:

    成员所属经销商id,可为空

  • ShopId:

    成员所属门店id,可为空

  • Phone:

    企业成员手机号

  • OrgIds:

    成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割

  • MainDepartment:

    主部门,仅当应用对主部门有查看权限时返回

  • IsLeaderInDept:

    是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是

  • Status:

    激活状态: 0=已激活,1=已禁用,-1=退出企业“

  • JobNumber:

    工号



679
680
681
# File 'lib/v20210129/models.rb', line 679

def OrgIds
  @OrgIds
end

#PhoneObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • UserId:

    企业成员UserId

  • UserName:

    企业成员在SaaS名片内填写的姓名

  • UserOpenId:

    企业成员在企微原生通讯录内的id

  • DealerId:

    成员所属经销商id,可为空

  • ShopId:

    成员所属门店id,可为空

  • Phone:

    企业成员手机号

  • OrgIds:

    成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割

  • MainDepartment:

    主部门,仅当应用对主部门有查看权限时返回

  • IsLeaderInDept:

    是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是

  • Status:

    激活状态: 0=已激活,1=已禁用,-1=退出企业“

  • JobNumber:

    工号



679
680
681
# File 'lib/v20210129/models.rb', line 679

def Phone
  @Phone
end

#ShopIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • UserId:

    企业成员UserId

  • UserName:

    企业成员在SaaS名片内填写的姓名

  • UserOpenId:

    企业成员在企微原生通讯录内的id

  • DealerId:

    成员所属经销商id,可为空

  • ShopId:

    成员所属门店id,可为空

  • Phone:

    企业成员手机号

  • OrgIds:

    成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割

  • MainDepartment:

    主部门,仅当应用对主部门有查看权限时返回

  • IsLeaderInDept:

    是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是

  • Status:

    激活状态: 0=已激活,1=已禁用,-1=退出企业“

  • JobNumber:

    工号



679
680
681
# File 'lib/v20210129/models.rb', line 679

def ShopId
  @ShopId
end

#StatusObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • UserId:

    企业成员UserId

  • UserName:

    企业成员在SaaS名片内填写的姓名

  • UserOpenId:

    企业成员在企微原生通讯录内的id

  • DealerId:

    成员所属经销商id,可为空

  • ShopId:

    成员所属门店id,可为空

  • Phone:

    企业成员手机号

  • OrgIds:

    成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割

  • MainDepartment:

    主部门,仅当应用对主部门有查看权限时返回

  • IsLeaderInDept:

    是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是

  • Status:

    激活状态: 0=已激活,1=已禁用,-1=退出企业“

  • JobNumber:

    工号



679
680
681
# File 'lib/v20210129/models.rb', line 679

def Status
  @Status
end

#UserIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • UserId:

    企业成员UserId

  • UserName:

    企业成员在SaaS名片内填写的姓名

  • UserOpenId:

    企业成员在企微原生通讯录内的id

  • DealerId:

    成员所属经销商id,可为空

  • ShopId:

    成员所属门店id,可为空

  • Phone:

    企业成员手机号

  • OrgIds:

    成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割

  • MainDepartment:

    主部门,仅当应用对主部门有查看权限时返回

  • IsLeaderInDept:

    是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是

  • Status:

    激活状态: 0=已激活,1=已禁用,-1=退出企业“

  • JobNumber:

    工号



679
680
681
# File 'lib/v20210129/models.rb', line 679

def UserId
  @UserId
end

#UserNameObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • UserId:

    企业成员UserId

  • UserName:

    企业成员在SaaS名片内填写的姓名

  • UserOpenId:

    企业成员在企微原生通讯录内的id

  • DealerId:

    成员所属经销商id,可为空

  • ShopId:

    成员所属门店id,可为空

  • Phone:

    企业成员手机号

  • OrgIds:

    成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割

  • MainDepartment:

    主部门,仅当应用对主部门有查看权限时返回

  • IsLeaderInDept:

    是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是

  • Status:

    激活状态: 0=已激活,1=已禁用,-1=退出企业“

  • JobNumber:

    工号



679
680
681
# File 'lib/v20210129/models.rb', line 679

def UserName
  @UserName
end

#UserOpenIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • UserId:

    企业成员UserId

  • UserName:

    企业成员在SaaS名片内填写的姓名

  • UserOpenId:

    企业成员在企微原生通讯录内的id

  • DealerId:

    成员所属经销商id,可为空

  • ShopId:

    成员所属门店id,可为空

  • Phone:

    企业成员手机号

  • OrgIds:

    成员所属部门id列表,仅返回该应用有查看权限的部门id;成员授权模式下,固定返回根部门id,即固定为1;多个部门使用逗号分割

  • MainDepartment:

    主部门,仅当应用对主部门有查看权限时返回

  • IsLeaderInDept:

    是否为部门负责人,第三方应用可为空。与orgIds值一一对应,多个部门使用逗号隔开,0-否, 1-是

  • Status:

    激活状态: 0=已激活,1=已禁用,-1=退出企业“

  • JobNumber:

    工号



679
680
681
# File 'lib/v20210129/models.rb', line 679

def UserOpenId
  @UserOpenId
end

Instance Method Details

#deserialize(params) ⇒ Object



695
696
697
698
699
700
701
702
703
704
705
706
707
# File 'lib/v20210129/models.rb', line 695

def deserialize(params)
  @UserId = params['UserId']
  @UserName = params['UserName']
  @UserOpenId = params['UserOpenId']
  @DealerId = params['DealerId']
  @ShopId = params['ShopId']
  @Phone = params['Phone']
  @OrgIds = params['OrgIds']
  @MainDepartment = params['MainDepartment']
  @IsLeaderInDept = params['IsLeaderInDept']
  @Status = params['Status']
  @JobNumber = params['JobNumber']
end