Class: TencentCloud::Waf::V20180125::BatchIpAccessControlData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::BatchIpAccessControlData
- Defined in:
- lib/v20180125/models.rb
Overview
多域名黑白名单describe返回
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, res = nil) ⇒ BatchIpAccessControlData
constructor
A new instance of BatchIpAccessControlData.
Constructor Details
#initialize(totalcount = nil, res = nil) ⇒ BatchIpAccessControlData
Returns a new instance of BatchIpAccessControlData.
1903 1904 1905 1906 |
# File 'lib/v20180125/models.rb', line 1903 def initialize(totalcount=nil, res=nil) @TotalCount = totalcount @Res = res end |
Instance Attribute Details
#Res ⇒ Object
1901 1902 1903 |
# File 'lib/v20180125/models.rb', line 1901 def Res @Res end |
#TotalCount ⇒ Object
1901 1902 1903 |
# File 'lib/v20180125/models.rb', line 1901 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 |
# File 'lib/v20180125/models.rb', line 1908 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Res'].nil? @Res = [] params['Res'].each do |i| batchipaccesscontrolitem_tmp = BatchIpAccessControlItem.new batchipaccesscontrolitem_tmp.deserialize(i) @Res << batchipaccesscontrolitem_tmp end end end |