Class: TencentCloud::Wav::V20210129::ExternalContactTag

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

Overview

外部联系人标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(groupname = nil, tagname = nil, type = nil, tagid = nil) ⇒ ExternalContactTag

Returns a new instance of ExternalContactTag.



1467
1468
1469
1470
1471
1472
# File 'lib/v20210129/models.rb', line 1467

def initialize(groupname=nil, tagname=nil, type=nil, tagid=nil)
  @GroupName = groupname
  @TagName = tagname
  @Type = type
  @TagId = tagid
end

Instance Attribute Details

#GroupNameObject

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

Parameters:

  • GroupName:

    该成员添加此外部联系人所打标签的分组名称(标签功能需要企业微信升级到2.7.5及以上版本)

  • TagName:

    该成员添加此外部联系人所打标签名称

  • Type:

    该成员添加此外部联系人所打标签类型, 1-企业设置, 2-用户自定义

  • TagId:

    该成员添加此外部联系人所打企业标签的id,仅企业设置(type为1)的标签返回



1465
1466
1467
# File 'lib/v20210129/models.rb', line 1465

def GroupName
  @GroupName
end

#TagIdObject

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

Parameters:

  • GroupName:

    该成员添加此外部联系人所打标签的分组名称(标签功能需要企业微信升级到2.7.5及以上版本)

  • TagName:

    该成员添加此外部联系人所打标签名称

  • Type:

    该成员添加此外部联系人所打标签类型, 1-企业设置, 2-用户自定义

  • TagId:

    该成员添加此外部联系人所打企业标签的id,仅企业设置(type为1)的标签返回



1465
1466
1467
# File 'lib/v20210129/models.rb', line 1465

def TagId
  @TagId
end

#TagNameObject

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

Parameters:

  • GroupName:

    该成员添加此外部联系人所打标签的分组名称(标签功能需要企业微信升级到2.7.5及以上版本)

  • TagName:

    该成员添加此外部联系人所打标签名称

  • Type:

    该成员添加此外部联系人所打标签类型, 1-企业设置, 2-用户自定义

  • TagId:

    该成员添加此外部联系人所打企业标签的id,仅企业设置(type为1)的标签返回



1465
1466
1467
# File 'lib/v20210129/models.rb', line 1465

def TagName
  @TagName
end

#TypeObject

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

Parameters:

  • GroupName:

    该成员添加此外部联系人所打标签的分组名称(标签功能需要企业微信升级到2.7.5及以上版本)

  • TagName:

    该成员添加此外部联系人所打标签名称

  • Type:

    该成员添加此外部联系人所打标签类型, 1-企业设置, 2-用户自定义

  • TagId:

    该成员添加此外部联系人所打企业标签的id,仅企业设置(type为1)的标签返回



1465
1466
1467
# File 'lib/v20210129/models.rb', line 1465

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



1474
1475
1476
1477
1478
1479
# File 'lib/v20210129/models.rb', line 1474

def deserialize(params)
  @GroupName = params['GroupName']
  @TagName = params['TagName']
  @Type = params['Type']
  @TagId = params['TagId']
end