Class: TencentCloud::Iotcloud::V20180614::DeviceTag

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

Overview

设备属性

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag = nil, type = nil, value = nil, name = nil) ⇒ DeviceTag

Returns a new instance of DeviceTag.



2875
2876
2877
2878
2879
2880
# File 'lib/v20180614/models.rb', line 2875

def initialize(tag=nil, type=nil, value=nil, name=nil)
  @Tag = tag
  @Type = type
  @Value = value
  @Name = name
end

Instance Attribute Details

#NameObject

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

Parameters:

  • Tag:

    属性名称

  • Type:

    属性值的类型,1 int,2 string

  • Value:

    属性的值

  • Name:

    属性描述名称



2873
2874
2875
# File 'lib/v20180614/models.rb', line 2873

def Name
  @Name
end

#TagObject

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

Parameters:

  • Tag:

    属性名称

  • Type:

    属性值的类型,1 int,2 string

  • Value:

    属性的值

  • Name:

    属性描述名称



2873
2874
2875
# File 'lib/v20180614/models.rb', line 2873

def Tag
  @Tag
end

#TypeObject

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

Parameters:

  • Tag:

    属性名称

  • Type:

    属性值的类型,1 int,2 string

  • Value:

    属性的值

  • Name:

    属性描述名称



2873
2874
2875
# File 'lib/v20180614/models.rb', line 2873

def Type
  @Type
end

#ValueObject

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

Parameters:

  • Tag:

    属性名称

  • Type:

    属性值的类型,1 int,2 string

  • Value:

    属性的值

  • Name:

    属性描述名称



2873
2874
2875
# File 'lib/v20180614/models.rb', line 2873

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



2882
2883
2884
2885
2886
2887
# File 'lib/v20180614/models.rb', line 2882

def deserialize(params)
  @Tag = params['Tag']
  @Type = params['Type']
  @Value = params['Value']
  @Name = params['Name']
end