Class: TencentCloud::Antiddos::V20200309::CCLevelPolicy
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Antiddos::V20200309::CCLevelPolicy
- Defined in:
- lib/v20200309/models.rb
Overview
CC分级策略
Instance Attribute Summary collapse
- #CreateTime ⇒ Object
- #Domain ⇒ Object
- #InstanceId ⇒ Object
- #Ip ⇒ Object
- #Level ⇒ Object
- #ModifyTime ⇒ Object
- #Protocol ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, ip = nil, protocol = nil, domain = nil, level = nil, createtime = nil, modifytime = nil) ⇒ CCLevelPolicy
constructor
A new instance of CCLevelPolicy.
Constructor Details
#initialize(instanceid = nil, ip = nil, protocol = nil, domain = nil, level = nil, createtime = nil, modifytime = nil) ⇒ CCLevelPolicy
Returns a new instance of CCLevelPolicy.
910 911 912 913 914 915 916 917 918 |
# File 'lib/v20200309/models.rb', line 910 def initialize(instanceid=nil, ip=nil, protocol=nil, domain=nil, level=nil, createtime=nil, modifytime=nil) @InstanceId = instanceid @Ip = ip @Protocol = protocol @Domain = domain @Level = level @CreateTime = createtime @ModifyTime = modifytime end |
Instance Attribute Details
#CreateTime ⇒ Object
908 909 910 |
# File 'lib/v20200309/models.rb', line 908 def CreateTime @CreateTime end |
#Domain ⇒ Object
908 909 910 |
# File 'lib/v20200309/models.rb', line 908 def Domain @Domain end |
#InstanceId ⇒ Object
908 909 910 |
# File 'lib/v20200309/models.rb', line 908 def InstanceId @InstanceId end |
#Ip ⇒ Object
908 909 910 |
# File 'lib/v20200309/models.rb', line 908 def Ip @Ip end |
#Level ⇒ Object
908 909 910 |
# File 'lib/v20200309/models.rb', line 908 def Level @Level end |
#ModifyTime ⇒ Object
908 909 910 |
# File 'lib/v20200309/models.rb', line 908 def ModifyTime @ModifyTime end |
#Protocol ⇒ Object
908 909 910 |
# File 'lib/v20200309/models.rb', line 908 def Protocol @Protocol end |
Instance Method Details
#deserialize(params) ⇒ Object
920 921 922 923 924 925 926 927 928 |
# File 'lib/v20200309/models.rb', line 920 def deserialize(params) @InstanceId = params['InstanceId'] @Ip = params['Ip'] @Protocol = params['Protocol'] @Domain = params['Domain'] @Level = params['Level'] @CreateTime = params['CreateTime'] @ModifyTime = params['ModifyTime'] end |