Class: TencentCloud::Cdn::V20180606::HTTPHeader

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

Overview

HTTP 请求头

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#NameObject

Parameters:

  • Name:

    请求头名称

  • Value:

    请求头值



7776
7777
7778
# File 'lib/v20180606/models.rb', line 7776

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    请求头名称

  • Value:

    请求头值



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