Class: TencentCloud::Antiddos::V20200309::StaticPackRelation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::StaticPackRelation
- Defined in:
- lib/v20200309/models.rb
Overview
三网高防套餐详情
Instance Attribute Summary collapse
- #AutoRenewFlag ⇒ Object
- #CurDeadline ⇒ Object
- #ForwardRulesLimit ⇒ Object
- #NormalBandwidth ⇒ Object
- #ProtectBandwidth ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(protectbandwidth = nil, normalbandwidth = nil, forwardruleslimit = nil, autorenewflag = nil, curdeadline = nil) ⇒ StaticPackRelation
constructor
A new instance of StaticPackRelation.
Constructor Details
#initialize(protectbandwidth = nil, normalbandwidth = nil, forwardruleslimit = nil, autorenewflag = nil, curdeadline = nil) ⇒ StaticPackRelation
Returns a new instance of StaticPackRelation.
8008 8009 8010 8011 8012 8013 8014 |
# File 'lib/v20200309/models.rb', line 8008 def initialize(protectbandwidth=nil, normalbandwidth=nil, forwardruleslimit=nil, autorenewflag=nil, curdeadline=nil) @ProtectBandwidth = protectbandwidth @NormalBandwidth = normalbandwidth @ForwardRulesLimit = forwardruleslimit @AutoRenewFlag = autorenewflag @CurDeadline = curdeadline end |
Instance Attribute Details
#AutoRenewFlag ⇒ Object
8006 8007 8008 |
# File 'lib/v20200309/models.rb', line 8006 def AutoRenewFlag @AutoRenewFlag end |
#CurDeadline ⇒ Object
8006 8007 8008 |
# File 'lib/v20200309/models.rb', line 8006 def CurDeadline @CurDeadline end |
#ForwardRulesLimit ⇒ Object
8006 8007 8008 |
# File 'lib/v20200309/models.rb', line 8006 def ForwardRulesLimit @ForwardRulesLimit end |
#NormalBandwidth ⇒ Object
8006 8007 8008 |
# File 'lib/v20200309/models.rb', line 8006 def NormalBandwidth @NormalBandwidth end |
#ProtectBandwidth ⇒ Object
8006 8007 8008 |
# File 'lib/v20200309/models.rb', line 8006 def ProtectBandwidth @ProtectBandwidth end |
Instance Method Details
#deserialize(params) ⇒ Object
8016 8017 8018 8019 8020 8021 8022 |
# File 'lib/v20200309/models.rb', line 8016 def deserialize(params) @ProtectBandwidth = params['ProtectBandwidth'] @NormalBandwidth = params['NormalBandwidth'] @ForwardRulesLimit = params['ForwardRulesLimit'] @AutoRenewFlag = params['AutoRenewFlag'] @CurDeadline = params['CurDeadline'] end |