Class: TencentCloud::Antiddos::V20200309::PackInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::PackInfo
- Defined in:
- lib/v20200309/models.rb
Overview
套餐包信息
Instance Attribute Summary collapse
-
#PackId ⇒ Object
staticpack:高防IP三网套餐包 insurance:保险套餐包 ].
-
#PackType ⇒ Object
staticpack:高防IP三网套餐包 insurance:保险套餐包 ].
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(packtype = nil, packid = nil) ⇒ PackInfo
constructor
A new instance of PackInfo.
Constructor Details
#initialize(packtype = nil, packid = nil) ⇒ PackInfo
Returns a new instance of PackInfo.
7541 7542 7543 7544 |
# File 'lib/v20200309/models.rb', line 7541 def initialize(packtype=nil, packid=nil) @PackType = packtype @PackId = packid end |
Instance Attribute Details
#PackId ⇒ Object
staticpack:高防IP三网套餐包insurance:保险套餐包]
7539 7540 7541 |
# File 'lib/v20200309/models.rb', line 7539 def PackId @PackId end |
#PackType ⇒ Object
staticpack:高防IP三网套餐包insurance:保险套餐包]
7539 7540 7541 |
# File 'lib/v20200309/models.rb', line 7539 def PackType @PackType end |
Instance Method Details
#deserialize(params) ⇒ Object
7546 7547 7548 7549 |
# File 'lib/v20200309/models.rb', line 7546 def deserialize(params) @PackType = params['PackType'] @PackId = params['PackId'] end |