Class: TencentCloud::Cdn::V20180606::MaxAgeCodeRule
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::MaxAgeCodeRule
- Defined in:
- lib/v20180606/models.rb
Overview
MaxAge 状态码相关规则配置
Instance Attribute Summary collapse
-
#Action ⇒ Object
clear:清除 cache-control 头部.
-
#StatusCodes ⇒ Object
clear:清除 cache-control 头部.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(action = nil, statuscodes = nil) ⇒ MaxAgeCodeRule
constructor
A new instance of MaxAgeCodeRule.
Constructor Details
#initialize(action = nil, statuscodes = nil) ⇒ MaxAgeCodeRule
Returns a new instance of MaxAgeCodeRule.
9794 9795 9796 9797 |
# File 'lib/v20180606/models.rb', line 9794 def initialize(action=nil, statuscodes=nil) @Action = action @StatusCodes = statuscodes end |
Instance Attribute Details
#Action ⇒ Object
clear:清除 cache-control 头部
9792 9793 9794 |
# File 'lib/v20180606/models.rb', line 9792 def Action @Action end |
#StatusCodes ⇒ Object
clear:清除 cache-control 头部
9792 9793 9794 |
# File 'lib/v20180606/models.rb', line 9792 def StatusCodes @StatusCodes end |
Instance Method Details
#deserialize(params) ⇒ Object
9799 9800 9801 9802 |
# File 'lib/v20180606/models.rb', line 9799 def deserialize(params) @Action = params['Action'] @StatusCodes = params['StatusCodes'] end |