Class: TencentCloud::Bma::V20221115::DescribeBPWhiteListsResponse

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

Overview

DescribeBPWhiteLists返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(whitelists = nil, totalcount = nil, requestid = nil) ⇒ DescribeBPWhiteListsResponse

Returns a new instance of DescribeBPWhiteListsResponse.



650
651
652
653
654
# File 'lib/v20221115/models.rb', line 650

def initialize(whitelists=nil, totalcount=nil, requestid=nil)
  @WhiteLists = whitelists
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • WhiteLists:

    白名单列表

  • TotalCount:

    白名单总数

  • RequestId:

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



648
649
650
# File 'lib/v20221115/models.rb', line 648

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • WhiteLists:

    白名单列表

  • TotalCount:

    白名单总数

  • RequestId:

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



648
649
650
# File 'lib/v20221115/models.rb', line 648

def TotalCount
  @TotalCount
end

#WhiteListsObject

Parameters:

  • WhiteLists:

    白名单列表

  • TotalCount:

    白名单总数

  • RequestId:

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



648
649
650
# File 'lib/v20221115/models.rb', line 648

def WhiteLists
  @WhiteLists
end

Instance Method Details

#deserialize(params) ⇒ Object



656
657
658
659
660
661
662
663
664
665
666
667
# File 'lib/v20221115/models.rb', line 656

def deserialize(params)
  unless params['WhiteLists'].nil?
    @WhiteLists = []
    params['WhiteLists'].each do |i|
      whitelistdata_tmp = WhiteListData.new
      whitelistdata_tmp.deserialize(i)
      @WhiteLists << whitelistdata_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end