Class: TencentCloud::Antiddos::V20200309::DescribeListPortAclListResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200309/models.rb

Overview

DescribeListPortAclList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, acllist = nil, requestid = nil) ⇒ DescribeListPortAclListResponse

Returns a new instance of DescribeListPortAclListResponse.



5166
5167
5168
5169
5170
# File 'lib/v20200309/models.rb', line 5166

def initialize(total=nil, acllist=nil, requestid=nil)
  @Total = total
  @AclList = acllist
  @RequestId = requestid
end

Instance Attribute Details

#AclListObject

Parameters:

  • Total:

    总数

  • AclList:

    端口acl策略

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5164
5165
5166
# File 'lib/v20200309/models.rb', line 5164

def AclList
  @AclList
end

#RequestIdObject

Parameters:

  • Total:

    总数

  • AclList:

    端口acl策略

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5164
5165
5166
# File 'lib/v20200309/models.rb', line 5164

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • Total:

    总数

  • AclList:

    端口acl策略

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5164
5165
5166
# File 'lib/v20200309/models.rb', line 5164

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
# File 'lib/v20200309/models.rb', line 5172

def deserialize(params)
  @Total = params['Total']
  unless params['AclList'].nil?
    @AclList = []
    params['AclList'].each do |i|
      aclconfigrelation_tmp = AclConfigRelation.new
      aclconfigrelation_tmp.deserialize(i)
      @AclList << aclconfigrelation_tmp
    end
  end
  @RequestId = params['RequestId']
end