Class: TencentCloud::Ecdn::V20191012::IpFilter
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecdn::V20191012::IpFilter
- Defined in:
- lib/v20191012/models.rb
Overview
IP黑白名单。
Instance Attribute Summary collapse
-
#Filters ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FilterType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Switch ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(switch = nil, filtertype = nil, filters = nil) ⇒ IpFilter
constructor
A new instance of IpFilter.
Constructor Details
#initialize(switch = nil, filtertype = nil, filters = nil) ⇒ IpFilter
Returns a new instance of IpFilter.
1114 1115 1116 1117 1118 |
# File 'lib/v20191012/models.rb', line 1114 def initialize(switch=nil, filtertype=nil, filters=nil) @Switch = switch @FilterType = filtertype @Filters = filters end |
Instance Attribute Details
#Filters ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1112 1113 1114 |
# File 'lib/v20191012/models.rb', line 1112 def Filters @Filters end |
#FilterType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1112 1113 1114 |
# File 'lib/v20191012/models.rb', line 1112 def FilterType @FilterType end |
#Switch ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
1112 1113 1114 |
# File 'lib/v20191012/models.rb', line 1112 def Switch @Switch end |
Instance Method Details
#deserialize(params) ⇒ Object
1120 1121 1122 1123 1124 |
# File 'lib/v20191012/models.rb', line 1120 def deserialize(params) @Switch = params['Switch'] @FilterType = params['FilterType'] @Filters = params['Filters'] end |