Class: TencentCloud::Dayu::V20180709::NewL7RuleEntry
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::NewL7RuleEntry
- Defined in:
- lib/v20180709/models.rb
Overview
L7规则
Instance Attribute Summary collapse
-
#CCEnable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CCLevel ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CCStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CCThreshold ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Cert ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CertType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Domain ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#HttpsToHttpEnable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Id ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Ip ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#KeepEnable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#KeepTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#LbType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ModifyTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#PrivateKey ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Protocol ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RuleId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RuleName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SourceList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SourceType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#SSLId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#VirtualPort ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(protocol = nil, domain = nil, sourcetype = nil, keeptime = nil, sourcelist = nil, lbtype = nil, keepenable = nil, ruleid = nil, certtype = nil, sslid = nil, cert = nil, privatekey = nil, rulename = nil, status = nil, ccstatus = nil, ccenable = nil, ccthreshold = nil, cclevel = nil, region = nil, id = nil, ip = nil, modifytime = nil, httpstohttpenable = nil, virtualport = nil) ⇒ NewL7RuleEntry
constructor
A new instance of NewL7RuleEntry.
Constructor Details
#initialize(protocol = nil, domain = nil, sourcetype = nil, keeptime = nil, sourcelist = nil, lbtype = nil, keepenable = nil, ruleid = nil, certtype = nil, sslid = nil, cert = nil, privatekey = nil, rulename = nil, status = nil, ccstatus = nil, ccenable = nil, ccthreshold = nil, cclevel = nil, region = nil, id = nil, ip = nil, modifytime = nil, httpstohttpenable = nil, virtualport = nil) ⇒ NewL7RuleEntry
Returns a new instance of NewL7RuleEntry.
8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 |
# File 'lib/v20180709/models.rb', line 8622 def initialize(protocol=nil, domain=nil, sourcetype=nil, keeptime=nil, sourcelist=nil, lbtype=nil, keepenable=nil, ruleid=nil, certtype=nil, sslid=nil, cert=nil, privatekey=nil, rulename=nil, status=nil, ccstatus=nil, ccenable=nil, ccthreshold=nil, cclevel=nil, region=nil, id=nil, ip=nil, modifytime=nil, httpstohttpenable=nil, virtualport=nil) @Protocol = protocol @Domain = domain @SourceType = sourcetype @KeepTime = keeptime @SourceList = sourcelist @LbType = lbtype @KeepEnable = keepenable @RuleId = ruleid @CertType = certtype @SSLId = sslid @Cert = cert @PrivateKey = privatekey @RuleName = rulename @Status = status @CCStatus = ccstatus @CCEnable = ccenable @CCThreshold = ccthreshold @CCLevel = cclevel @Region = region @Id = id @Ip = ip @ModifyTime = modifytime @HttpsToHttpEnable = httpstohttpenable @VirtualPort = virtualport end |
Instance Attribute Details
#CCEnable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def CCEnable @CCEnable end |
#CCLevel ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def CCLevel @CCLevel end |
#CCStatus ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def CCStatus @CCStatus end |
#CCThreshold ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def CCThreshold @CCThreshold end |
#Cert ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def Cert @Cert end |
#CertType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def CertType @CertType end |
#Domain ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def Domain @Domain end |
#HttpsToHttpEnable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def HttpsToHttpEnable @HttpsToHttpEnable end |
#Id ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def Id @Id end |
#Ip ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def Ip @Ip end |
#KeepEnable ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def KeepEnable @KeepEnable end |
#KeepTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def KeepTime @KeepTime end |
#LbType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def LbType @LbType end |
#ModifyTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def ModifyTime @ModifyTime end |
#PrivateKey ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def PrivateKey @PrivateKey end |
#Protocol ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def Protocol @Protocol end |
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def Region @Region end |
#RuleId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def RuleId @RuleId end |
#RuleName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def RuleName @RuleName end |
#SourceList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def SourceList @SourceList end |
#SourceType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def SourceType @SourceType end |
#SSLId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def SSLId @SSLId end |
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def Status @Status end |
#VirtualPort ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8620 8621 8622 |
# File 'lib/v20180709/models.rb', line 8620 def VirtualPort @VirtualPort end |
Instance Method Details
#deserialize(params) ⇒ Object
8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 |
# File 'lib/v20180709/models.rb', line 8649 def deserialize(params) @Protocol = params['Protocol'] @Domain = params['Domain'] @SourceType = params['SourceType'] @KeepTime = params['KeepTime'] unless params['SourceList'].nil? @SourceList = [] params['SourceList'].each do |i| l4rulesource_tmp = L4RuleSource.new l4rulesource_tmp.deserialize(i) @SourceList << l4rulesource_tmp end end @LbType = params['LbType'] @KeepEnable = params['KeepEnable'] @RuleId = params['RuleId'] @CertType = params['CertType'] @SSLId = params['SSLId'] @Cert = params['Cert'] @PrivateKey = params['PrivateKey'] @RuleName = params['RuleName'] @Status = params['Status'] @CCStatus = params['CCStatus'] @CCEnable = params['CCEnable'] @CCThreshold = params['CCThreshold'] @CCLevel = params['CCLevel'] @Region = params['Region'] @Id = params['Id'] @Ip = params['Ip'] @ModifyTime = params['ModifyTime'] @HttpsToHttpEnable = params['HttpsToHttpEnable'] @VirtualPort = params['VirtualPort'] end |