Class: TencentCloud::Wav::V20210129::FollowUser

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) ⇒ FollowUser

Returns a new instance of FollowUser.



1620
1621
1622
1623
1624
1625
1626
1627
1628
# File 'lib/v20210129/models.rb', line 1620

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

Instance Attribute Details

#AddWayObject

注意:此字段可能返回 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:

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



1618
1619
1620
# File 'lib/v20210129/models.rb', line 1618

def AddWay
  @AddWay
end

#CreateTimeObject

注意:此字段可能返回 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:

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



1618
1619
1620
# File 'lib/v20210129/models.rb', line 1618

def CreateTime
  @CreateTime
end

#DescriptionObject

注意:此字段可能返回 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:

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



1618
1619
1620
# File 'lib/v20210129/models.rb', line 1618

def Description
  @Description
end

#OperUserIdObject

注意:此字段可能返回 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:

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



1618
1619
1620
# File 'lib/v20210129/models.rb', line 1618

def OperUserId
  @OperUserId
end

#RemarkObject

注意:此字段可能返回 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:

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



1618
1619
1620
# File 'lib/v20210129/models.rb', line 1618

def Remark
  @Remark
end

#TagsObject

注意:此字段可能返回 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:

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



1618
1619
1620
# File 'lib/v20210129/models.rb', line 1618

def Tags
  @Tags
end

#UserIdObject

注意:此字段可能返回 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:

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



1618
1619
1620
# File 'lib/v20210129/models.rb', line 1618

def UserId
  @UserId
end

Instance Method Details

#deserialize(params) ⇒ Object



1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
# File 'lib/v20210129/models.rb', line 1630

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
end