Class: TencentCloud::Ecdn::V20191012::HttpHeaderPathRule
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecdn::V20191012::HttpHeaderPathRule
- Defined in:
- lib/v20191012/models.rb
Overview
分路径的http头部设置规则。
Instance Attribute Summary collapse
-
#HeaderMode ⇒ Object
请求头部暂不支持set。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HeaderName ⇒ Object
请求头部暂不支持set。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#HeaderValue ⇒ Object
请求头部暂不支持set。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RulePaths ⇒ Object
请求头部暂不支持set。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#RuleType ⇒ Object
请求头部暂不支持set。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(headermode = nil, headername = nil, headervalue = nil, ruletype = nil, rulepaths = nil) ⇒ HttpHeaderPathRule
constructor
A new instance of HttpHeaderPathRule.
Constructor Details
#initialize(headermode = nil, headername = nil, headervalue = nil, ruletype = nil, rulepaths = nil) ⇒ HttpHeaderPathRule
Returns a new instance of HttpHeaderPathRule.
1018 1019 1020 1021 1022 1023 1024 |
# File 'lib/v20191012/models.rb', line 1018 def initialize(headermode=nil, headername=nil, headervalue=nil, ruletype=nil, rulepaths=nil) @HeaderMode = headermode @HeaderName = headername @HeaderValue = headervalue @RuleType = ruletype @RulePaths = rulepaths end |
Instance Attribute Details
#HeaderMode ⇒ Object
请求头部暂不支持set。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1016 1017 1018 |
# File 'lib/v20191012/models.rb', line 1016 def HeaderMode @HeaderMode end |
#HeaderName ⇒ Object
请求头部暂不支持set。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1016 1017 1018 |
# File 'lib/v20191012/models.rb', line 1016 def HeaderName @HeaderName end |
#HeaderValue ⇒ Object
请求头部暂不支持set。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1016 1017 1018 |
# File 'lib/v20191012/models.rb', line 1016 def HeaderValue @HeaderValue end |
#RulePaths ⇒ Object
请求头部暂不支持set。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1016 1017 1018 |
# File 'lib/v20191012/models.rb', line 1016 def RulePaths @RulePaths end |
#RuleType ⇒ Object
请求头部暂不支持set。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1016 1017 1018 |
# File 'lib/v20191012/models.rb', line 1016 def RuleType @RuleType end |
Instance Method Details
#deserialize(params) ⇒ Object
1026 1027 1028 1029 1030 1031 1032 |
# File 'lib/v20191012/models.rb', line 1026 def deserialize(params) @HeaderMode = params['HeaderMode'] @HeaderName = params['HeaderName'] @HeaderValue = params['HeaderValue'] @RuleType = params['RuleType'] @RulePaths = params['RulePaths'] end |