Class: TencentCloud::Waf::V20180125::ClbWafRegionItem

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

Overview

Clb-waf地域信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, text = nil, value = nil, code = nil) ⇒ ClbWafRegionItem

Returns a new instance of ClbWafRegionItem.



1770
1771
1772
1773
1774
1775
# File 'lib/v20180125/models.rb', line 1770

def initialize(id=nil, text=nil, value=nil, code=nil)
  @Id = id
  @Text = text
  @Value = value
  @Code = code
end

Instance Attribute Details

#CodeObject

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

Parameters:

  • Id:

    地域ID

  • Text:

    地域中文说明

  • Value:

    地域英文全拼

  • Code:

    地域编码



1768
1769
1770
# File 'lib/v20180125/models.rb', line 1768

def Code
  @Code
end

#IdObject

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

Parameters:

  • Id:

    地域ID

  • Text:

    地域中文说明

  • Value:

    地域英文全拼

  • Code:

    地域编码



1768
1769
1770
# File 'lib/v20180125/models.rb', line 1768

def Id
  @Id
end

#TextObject

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

Parameters:

  • Id:

    地域ID

  • Text:

    地域中文说明

  • Value:

    地域英文全拼

  • Code:

    地域编码



1768
1769
1770
# File 'lib/v20180125/models.rb', line 1768

def Text
  @Text
end

#ValueObject

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

Parameters:

  • Id:

    地域ID

  • Text:

    地域中文说明

  • Value:

    地域英文全拼

  • Code:

    地域编码



1768
1769
1770
# File 'lib/v20180125/models.rb', line 1768

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



1777
1778
1779
1780
1781
1782
# File 'lib/v20180125/models.rb', line 1777

def deserialize(params)
  @Id = params['Id']
  @Text = params['Text']
  @Value = params['Value']
  @Code = params['Code']
end