Class: TencentCloud::Cdn::V20180606::HTTPHeader
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::HTTPHeader
- Defined in:
- lib/v20180606/models.rb
Overview
HTTP 请求头
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, value = nil) ⇒ HTTPHeader
constructor
A new instance of HTTPHeader.
Constructor Details
#initialize(name = nil, value = nil) ⇒ HTTPHeader
Returns a new instance of HTTPHeader.
7778 7779 7780 7781 |
# File 'lib/v20180606/models.rb', line 7778 def initialize(name=nil, value=nil) @Name = name @Value = value end |
Instance Attribute Details
#Name ⇒ Object
7776 7777 7778 |
# File 'lib/v20180606/models.rb', line 7776 def Name @Name end |
#Value ⇒ Object
7776 7777 7778 |
# File 'lib/v20180606/models.rb', line 7776 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
7783 7784 7785 7786 |
# File 'lib/v20180606/models.rb', line 7783 def deserialize(params) @Name = params['Name'] @Value = params['Value'] end |