Class: TencentCloud::Waf::V20180125::ProductInfo

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

Overview

waf产品

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil) ⇒ ProductInfo

Returns a new instance of ProductInfo.



10855
10856
10857
10858
# File 'lib/v20180125/models.rb', line 10855

def initialize(name=nil, value=nil)
  @Name = name
  @Value = value
end

Instance Attribute Details

#NameObject

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

Parameters:

  • Name:

    产品名称

  • Value:

    版本



10853
10854
10855
# File 'lib/v20180125/models.rb', line 10853

def Name
  @Name
end

#ValueObject

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

Parameters:

  • Name:

    产品名称

  • Value:

    版本



10853
10854
10855
# File 'lib/v20180125/models.rb', line 10853

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



10860
10861
10862
10863
# File 'lib/v20180125/models.rb', line 10860

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