Class: TencentCloud::Cwp::V20180228::WebHookHostLabel

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

Overview

企微机器人主机范围

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, values = nil) ⇒ WebHookHostLabel

Returns a new instance of WebHookHostLabel.



41096
41097
41098
41099
# File 'lib/v20180228/models.rb', line 41096

def initialize(type=nil, values=nil)
  @Type = type
  @Values = values
end

Instance Attribute Details

#TypeObject

Parameters:

  • Type:

    主机范围[1:所属项目|2:腾讯云标签|3:主机安全标签|4:自选]空数组为全部

  • Values:

    主机项目或标签内容



41094
41095
41096
# File 'lib/v20180228/models.rb', line 41094

def Type
  @Type
end

#ValuesObject

Parameters:

  • Type:

    主机范围[1:所属项目|2:腾讯云标签|3:主机安全标签|4:自选]空数组为全部

  • Values:

    主机项目或标签内容



41094
41095
41096
# File 'lib/v20180228/models.rb', line 41094

def Values
  @Values
end

Instance Method Details

#deserialize(params) ⇒ Object



41101
41102
41103
41104
# File 'lib/v20180228/models.rb', line 41101

def deserialize(params)
  @Type = params['Type']
  @Values = params['Values']
end