Class: TencentCloud::Cdn::V20180606::ScdnAclGroup
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::ScdnAclGroup
- Defined in:
- lib/v20180606/models.rb
Overview
SCDN精准访问控制配置
Instance Attribute Summary collapse
-
#Configure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ErrorPage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Result ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RuleName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rulename = nil, configure = nil, result = nil, status = nil, errorpage = nil) ⇒ ScdnAclGroup
constructor
A new instance of ScdnAclGroup.
Constructor Details
#initialize(rulename = nil, configure = nil, result = nil, status = nil, errorpage = nil) ⇒ ScdnAclGroup
Returns a new instance of ScdnAclGroup.
11823 11824 11825 11826 11827 11828 11829 |
# File 'lib/v20180606/models.rb', line 11823 def initialize(rulename=nil, configure=nil, result=nil, status=nil, errorpage=nil) @RuleName = rulename @Configure = configure @Result = result @Status = status @ErrorPage = errorpage end |
Instance Attribute Details
#Configure ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11821 11822 11823 |
# File 'lib/v20180606/models.rb', line 11821 def Configure @Configure end |
#ErrorPage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11821 11822 11823 |
# File 'lib/v20180606/models.rb', line 11821 def ErrorPage @ErrorPage end |
#Result ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11821 11822 11823 |
# File 'lib/v20180606/models.rb', line 11821 def Result @Result end |
#RuleName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11821 11822 11823 |
# File 'lib/v20180606/models.rb', line 11821 def RuleName @RuleName end |
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
11821 11822 11823 |
# File 'lib/v20180606/models.rb', line 11821 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 |
# File 'lib/v20180606/models.rb', line 11831 def deserialize(params) @RuleName = params['RuleName'] unless params['Configure'].nil? @Configure = [] params['Configure'].each do |i| scdnaclrule_tmp = ScdnAclRule.new scdnaclrule_tmp.deserialize(i) @Configure << scdnaclrule_tmp end end @Result = params['Result'] @Status = params['Status'] unless params['ErrorPage'].nil? @ErrorPage = ScdnErrorPage.new @ErrorPage.deserialize(params['ErrorPage']) end end |