Class: TencentCloud::Dayu::V20180709::DescribeIpUnBlockListResponse

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

Overview

DescribeIpUnBlockList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(begintime = nil, endtime = nil, list = nil, total = nil, requestid = nil) ⇒ DescribeIpUnBlockListResponse

Returns a new instance of DescribeIpUnBlockListResponse.



4772
4773
4774
4775
4776
4777
4778
# File 'lib/v20180709/models.rb', line 4772

def initialize(begintime=nil, endtime=nil, list=nil, total=nil, requestid=nil)
  @BeginTime = begintime
  @EndTime = endtime
  @List = list
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#BeginTimeObject

Parameters:

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • List:

    IP解封记录

  • Total:

    总记录数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4770
4771
4772
# File 'lib/v20180709/models.rb', line 4770

def BeginTime
  @BeginTime
end

#EndTimeObject

Parameters:

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • List:

    IP解封记录

  • Total:

    总记录数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4770
4771
4772
# File 'lib/v20180709/models.rb', line 4770

def EndTime
  @EndTime
end

#ListObject

Parameters:

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • List:

    IP解封记录

  • Total:

    总记录数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4770
4771
4772
# File 'lib/v20180709/models.rb', line 4770

def List
  @List
end

#RequestIdObject

Parameters:

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • List:

    IP解封记录

  • Total:

    总记录数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4770
4771
4772
# File 'lib/v20180709/models.rb', line 4770

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • BeginTime:

    开始时间

  • EndTime:

    结束时间

  • List:

    IP解封记录

  • Total:

    总记录数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



4770
4771
4772
# File 'lib/v20180709/models.rb', line 4770

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
# File 'lib/v20180709/models.rb', line 4780

def deserialize(params)
  @BeginTime = params['BeginTime']
  @EndTime = params['EndTime']
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      ipunblockdata_tmp = IpUnBlockData.new
      ipunblockdata_tmp.deserialize(i)
      @List << ipunblockdata_tmp
    end
  end
  @Total = params['Total']
  @RequestId = params['RequestId']
end