Class: TencentCloud::Wav::V20210129::FollowUserPro

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, remark = nil, description = nil, createtime = nil, addway = nil, operuserid = nil, tags = nil, salesname = nil, departmentidlist = nil) ⇒ FollowUserPro

Returns a new instance of FollowUserPro.



1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
# File 'lib/v20210129/models.rb', line 1675

def initialize(userid=nil, remark=nil, description=nil, createtime=nil, addway=nil, operuserid=nil, tags=nil, salesname=nil, departmentidlist=nil)
  @UserId = userid
  @Remark = remark
  @Description = description
  @CreateTime = createtime
  @AddWay = addway
  @OperUserId = operuserid
  @Tags = tags
  @SalesName = salesname
  @DepartmentIdList = departmentidlist
end

Instance Attribute Details

#AddWayObject

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

Parameters:

  • UserId:

    添加了此外部联系人的企业成员userid

  • Remark:

    该成员对此外部联系人的备注

  • Description:

    该成员对此外部联系人的描述

  • CreateTime:

    该成员添加此外部联系人的时间戳,单位为秒

  • AddWay:

    该成员添加此客户的来源,具体含义详见<a href=“work.weixin.qq.com/api/doc/90000/90135/92114#%E6%9D%A5%E6%BA%90%E5%AE%9A%E4%B9%89”>来源定义</a>

  • OperUserId:

    发起添加的userid,如果成员主动添加,为成员的userid;如果是客户主动添加,则为客户的外部联系人userid;如果是内部成员共享/管理员分配,则为对应的成员/管理员userid

  • Tags:

    该成员添加此外部联系人所打标签信息

  • SalesName:

    添加了此外部联系人的企业成员的姓名

  • DepartmentIdList:

    企业成员的归属部门id列表



1673
1674
1675
# File 'lib/v20210129/models.rb', line 1673

def AddWay
  @AddWay
end

#CreateTimeObject

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

Parameters:

  • UserId:

    添加了此外部联系人的企业成员userid

  • Remark:

    该成员对此外部联系人的备注

  • Description:

    该成员对此外部联系人的描述

  • CreateTime:

    该成员添加此外部联系人的时间戳,单位为秒

  • AddWay:

    该成员添加此客户的来源,具体含义详见<a href=“work.weixin.qq.com/api/doc/90000/90135/92114#%E6%9D%A5%E6%BA%90%E5%AE%9A%E4%B9%89”>来源定义</a>

  • OperUserId:

    发起添加的userid,如果成员主动添加,为成员的userid;如果是客户主动添加,则为客户的外部联系人userid;如果是内部成员共享/管理员分配,则为对应的成员/管理员userid

  • Tags:

    该成员添加此外部联系人所打标签信息

  • SalesName:

    添加了此外部联系人的企业成员的姓名

  • DepartmentIdList:

    企业成员的归属部门id列表



1673
1674
1675
# File 'lib/v20210129/models.rb', line 1673

def CreateTime
  @CreateTime
end

#DepartmentIdListObject

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

Parameters:

  • UserId:

    添加了此外部联系人的企业成员userid

  • Remark:

    该成员对此外部联系人的备注

  • Description:

    该成员对此外部联系人的描述

  • CreateTime:

    该成员添加此外部联系人的时间戳,单位为秒

  • AddWay:

    该成员添加此客户的来源,具体含义详见<a href=“work.weixin.qq.com/api/doc/90000/90135/92114#%E6%9D%A5%E6%BA%90%E5%AE%9A%E4%B9%89”>来源定义</a>

  • OperUserId:

    发起添加的userid,如果成员主动添加,为成员的userid;如果是客户主动添加,则为客户的外部联系人userid;如果是内部成员共享/管理员分配,则为对应的成员/管理员userid

  • Tags:

    该成员添加此外部联系人所打标签信息

  • SalesName:

    添加了此外部联系人的企业成员的姓名

  • DepartmentIdList:

    企业成员的归属部门id列表



1673
1674
1675
# File 'lib/v20210129/models.rb', line 1673

def DepartmentIdList
  @DepartmentIdList
end

#DescriptionObject

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

Parameters:

  • UserId:

    添加了此外部联系人的企业成员userid

  • Remark:

    该成员对此外部联系人的备注

  • Description:

    该成员对此外部联系人的描述

  • CreateTime:

    该成员添加此外部联系人的时间戳,单位为秒

  • AddWay:

    该成员添加此客户的来源,具体含义详见<a href=“work.weixin.qq.com/api/doc/90000/90135/92114#%E6%9D%A5%E6%BA%90%E5%AE%9A%E4%B9%89”>来源定义</a>

  • OperUserId:

    发起添加的userid,如果成员主动添加,为成员的userid;如果是客户主动添加,则为客户的外部联系人userid;如果是内部成员共享/管理员分配,则为对应的成员/管理员userid

  • Tags:

    该成员添加此外部联系人所打标签信息

  • SalesName:

    添加了此外部联系人的企业成员的姓名

  • DepartmentIdList:

    企业成员的归属部门id列表



1673
1674
1675
# File 'lib/v20210129/models.rb', line 1673

def Description
  @Description
end

#OperUserIdObject

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

Parameters:

  • UserId:

    添加了此外部联系人的企业成员userid

  • Remark:

    该成员对此外部联系人的备注

  • Description:

    该成员对此外部联系人的描述

  • CreateTime:

    该成员添加此外部联系人的时间戳,单位为秒

  • AddWay:

    该成员添加此客户的来源,具体含义详见<a href=“work.weixin.qq.com/api/doc/90000/90135/92114#%E6%9D%A5%E6%BA%90%E5%AE%9A%E4%B9%89”>来源定义</a>

  • OperUserId:

    发起添加的userid,如果成员主动添加,为成员的userid;如果是客户主动添加,则为客户的外部联系人userid;如果是内部成员共享/管理员分配,则为对应的成员/管理员userid

  • Tags:

    该成员添加此外部联系人所打标签信息

  • SalesName:

    添加了此外部联系人的企业成员的姓名

  • DepartmentIdList:

    企业成员的归属部门id列表



1673
1674
1675
# File 'lib/v20210129/models.rb', line 1673

def OperUserId
  @OperUserId
end

#RemarkObject

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

Parameters:

  • UserId:

    添加了此外部联系人的企业成员userid

  • Remark:

    该成员对此外部联系人的备注

  • Description:

    该成员对此外部联系人的描述

  • CreateTime:

    该成员添加此外部联系人的时间戳,单位为秒

  • AddWay:

    该成员添加此客户的来源,具体含义详见<a href=“work.weixin.qq.com/api/doc/90000/90135/92114#%E6%9D%A5%E6%BA%90%E5%AE%9A%E4%B9%89”>来源定义</a>

  • OperUserId:

    发起添加的userid,如果成员主动添加,为成员的userid;如果是客户主动添加,则为客户的外部联系人userid;如果是内部成员共享/管理员分配,则为对应的成员/管理员userid

  • Tags:

    该成员添加此外部联系人所打标签信息

  • SalesName:

    添加了此外部联系人的企业成员的姓名

  • DepartmentIdList:

    企业成员的归属部门id列表



1673
1674
1675
# File 'lib/v20210129/models.rb', line 1673

def Remark
  @Remark
end

#SalesNameObject

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

Parameters:

  • UserId:

    添加了此外部联系人的企业成员userid

  • Remark:

    该成员对此外部联系人的备注

  • Description:

    该成员对此外部联系人的描述

  • CreateTime:

    该成员添加此外部联系人的时间戳,单位为秒

  • AddWay:

    该成员添加此客户的来源,具体含义详见<a href=“work.weixin.qq.com/api/doc/90000/90135/92114#%E6%9D%A5%E6%BA%90%E5%AE%9A%E4%B9%89”>来源定义</a>

  • OperUserId:

    发起添加的userid,如果成员主动添加,为成员的userid;如果是客户主动添加,则为客户的外部联系人userid;如果是内部成员共享/管理员分配,则为对应的成员/管理员userid

  • Tags:

    该成员添加此外部联系人所打标签信息

  • SalesName:

    添加了此外部联系人的企业成员的姓名

  • DepartmentIdList:

    企业成员的归属部门id列表



1673
1674
1675
# File 'lib/v20210129/models.rb', line 1673

def SalesName
  @SalesName
end

#TagsObject

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

Parameters:

  • UserId:

    添加了此外部联系人的企业成员userid

  • Remark:

    该成员对此外部联系人的备注

  • Description:

    该成员对此外部联系人的描述

  • CreateTime:

    该成员添加此外部联系人的时间戳,单位为秒

  • AddWay:

    该成员添加此客户的来源,具体含义详见<a href=“work.weixin.qq.com/api/doc/90000/90135/92114#%E6%9D%A5%E6%BA%90%E5%AE%9A%E4%B9%89”>来源定义</a>

  • OperUserId:

    发起添加的userid,如果成员主动添加,为成员的userid;如果是客户主动添加,则为客户的外部联系人userid;如果是内部成员共享/管理员分配,则为对应的成员/管理员userid

  • Tags:

    该成员添加此外部联系人所打标签信息

  • SalesName:

    添加了此外部联系人的企业成员的姓名

  • DepartmentIdList:

    企业成员的归属部门id列表



1673
1674
1675
# File 'lib/v20210129/models.rb', line 1673

def Tags
  @Tags
end

#UserIdObject

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

Parameters:

  • UserId:

    添加了此外部联系人的企业成员userid

  • Remark:

    该成员对此外部联系人的备注

  • Description:

    该成员对此外部联系人的描述

  • CreateTime:

    该成员添加此外部联系人的时间戳,单位为秒

  • AddWay:

    该成员添加此客户的来源,具体含义详见<a href=“work.weixin.qq.com/api/doc/90000/90135/92114#%E6%9D%A5%E6%BA%90%E5%AE%9A%E4%B9%89”>来源定义</a>

  • OperUserId:

    发起添加的userid,如果成员主动添加,为成员的userid;如果是客户主动添加,则为客户的外部联系人userid;如果是内部成员共享/管理员分配,则为对应的成员/管理员userid

  • Tags:

    该成员添加此外部联系人所打标签信息

  • SalesName:

    添加了此外部联系人的企业成员的姓名

  • DepartmentIdList:

    企业成员的归属部门id列表



1673
1674
1675
# File 'lib/v20210129/models.rb', line 1673

def UserId
  @UserId
end

Instance Method Details

#deserialize(params) ⇒ Object



1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
# File 'lib/v20210129/models.rb', line 1687

def deserialize(params)
  @UserId = params['UserId']
  @Remark = params['Remark']
  @Description = params['Description']
  @CreateTime = params['CreateTime']
  @AddWay = params['AddWay']
  @OperUserId = params['OperUserId']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      externalcontacttag_tmp = ExternalContactTag.new
      externalcontacttag_tmp.deserialize(i)
      @Tags << externalcontacttag_tmp
    end
  end
  @SalesName = params['SalesName']
  @DepartmentIdList = params['DepartmentIdList']
end