Class: TencentCloud::Teo::V20220901::StatusCodeCacheParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Teo::V20220901::StatusCodeCacheParam
- Defined in:
- lib/v20220901/models.rb
Overview
状态码缓存 TTL 配置参数内部结构。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(statuscode = nil, cachetime = nil) ⇒ StatusCodeCacheParam
constructor
A new instance of StatusCodeCacheParam.
Constructor Details
#initialize(statuscode = nil, cachetime = nil) ⇒ StatusCodeCacheParam
Returns a new instance of StatusCodeCacheParam.
21997 21998 21999 22000 |
# File 'lib/v20220901/models.rb', line 21997 def initialize(statuscode=nil, cachetime=nil) @StatusCode = statuscode @CacheTime = cachetime end |
Instance Attribute Details
#CacheTime ⇒ Object
21995 21996 21997 |
# File 'lib/v20220901/models.rb', line 21995 def CacheTime @CacheTime end |
#StatusCode ⇒ Object
21995 21996 21997 |
# File 'lib/v20220901/models.rb', line 21995 def StatusCode @StatusCode end |
Instance Method Details
#deserialize(params) ⇒ Object
22002 22003 22004 22005 |
# File 'lib/v20220901/models.rb', line 22002 def deserialize(params) @StatusCode = params['StatusCode'] @CacheTime = params['CacheTime'] end |