Class: TencentCloud::Cdn::V20180606::HttpHeaderRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::HttpHeaderRule
- Defined in:
- lib/v20180606/models.rb
Overview
http头部设置规则。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(headermode = nil, headername = nil, headervalue = nil) ⇒ HttpHeaderRule
constructor
A new instance of HttpHeaderRule.
Constructor Details
#initialize(headermode = nil, headername = nil, headervalue = nil) ⇒ HttpHeaderRule
Returns a new instance of HttpHeaderRule.
7929 7930 7931 7932 7933 |
# File 'lib/v20180606/models.rb', line 7929 def initialize(headermode=nil, headername=nil, headervalue=nil) @HeaderMode = headermode @HeaderName = headername @HeaderValue = headervalue end |
Instance Attribute Details
#HeaderMode ⇒ Object
7927 7928 7929 |
# File 'lib/v20180606/models.rb', line 7927 def HeaderMode @HeaderMode end |
#HeaderName ⇒ Object
7927 7928 7929 |
# File 'lib/v20180606/models.rb', line 7927 def HeaderName @HeaderName end |
#HeaderValue ⇒ Object
7927 7928 7929 |
# File 'lib/v20180606/models.rb', line 7927 def HeaderValue @HeaderValue end |
Instance Method Details
#deserialize(params) ⇒ Object
7935 7936 7937 7938 7939 |
# File 'lib/v20180606/models.rb', line 7935 def deserialize(params) @HeaderMode = params['HeaderMode'] @HeaderName = params['HeaderName'] @HeaderValue = params['HeaderValue'] end |