Class: TencentCloud::Wav::V20210129::ExternalContactSimpleInfo

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

Overview

外部联系人简短信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(externaluserid = nil, userid = nil, salesname = nil, departmentidlist = nil) ⇒ ExternalContactSimpleInfo

Returns a new instance of ExternalContactSimpleInfo.



1435
1436
1437
1438
1439
1440
# File 'lib/v20210129/models.rb', line 1435

def initialize(externaluserid=nil, userid=nil, salesname=nil, departmentidlist=nil)
  @ExternalUserId = externaluserid
  @UserId = userid
  @SalesName = salesname
  @DepartmentIdList = departmentidlist
end

Instance Attribute Details

#DepartmentIdListObject

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

Parameters:

  • ExternalUserId:

    外部联系人的userId

  • UserId:

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

  • SalesName:

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

  • DepartmentIdList:

    添加了此外部联系人的企业成员的归属部门id列表



1433
1434
1435
# File 'lib/v20210129/models.rb', line 1433

def DepartmentIdList
  @DepartmentIdList
end

#ExternalUserIdObject

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

Parameters:

  • ExternalUserId:

    外部联系人的userId

  • UserId:

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

  • SalesName:

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

  • DepartmentIdList:

    添加了此外部联系人的企业成员的归属部门id列表



1433
1434
1435
# File 'lib/v20210129/models.rb', line 1433

def ExternalUserId
  @ExternalUserId
end

#SalesNameObject

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

Parameters:

  • ExternalUserId:

    外部联系人的userId

  • UserId:

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

  • SalesName:

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

  • DepartmentIdList:

    添加了此外部联系人的企业成员的归属部门id列表



1433
1434
1435
# File 'lib/v20210129/models.rb', line 1433

def SalesName
  @SalesName
end

#UserIdObject

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

Parameters:

  • ExternalUserId:

    外部联系人的userId

  • UserId:

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

  • SalesName:

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

  • DepartmentIdList:

    添加了此外部联系人的企业成员的归属部门id列表



1433
1434
1435
# File 'lib/v20210129/models.rb', line 1433

def UserId
  @UserId
end

Instance Method Details

#deserialize(params) ⇒ Object



1442
1443
1444
1445
1446
1447
# File 'lib/v20210129/models.rb', line 1442

def deserialize(params)
  @ExternalUserId = params['ExternalUserId']
  @UserId = params['UserId']
  @SalesName = params['SalesName']
  @DepartmentIdList = params['DepartmentIdList']
end