Class: TencentCloud::Waf::V20180125::DescribeApiListVersionTwoRequest

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

Overview

DescribeApiListVersionTwo请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, pageindex = nil, pagesize = nil, filters = nil, sort = nil, needtotalcount = nil, startts = nil, endts = nil) ⇒ DescribeApiListVersionTwoRequest



5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
# File 'lib/v20180125/models.rb', line 5792

def initialize(domain=nil, pageindex=nil, pagesize=nil, filters=nil, sort=nil, needtotalcount=nil, startts=nil, endts=nil)
  @Domain = domain
  @PageIndex = pageindex
  @PageSize = pagesize
  @Filters = filters
  @Sort = sort
  @NeedTotalCount = needtotalcount
  @StartTs = startts
  @EndTs = endts
end

Instance Attribute Details

#DomainObject



5790
5791
5792
# File 'lib/v20180125/models.rb', line 5790

def Domain
  @Domain
end

#EndTsObject



5790
5791
5792
# File 'lib/v20180125/models.rb', line 5790

def EndTs
  @EndTs
end

#FiltersObject



5790
5791
5792
# File 'lib/v20180125/models.rb', line 5790

def Filters
  @Filters
end

#NeedTotalCountObject



5790
5791
5792
# File 'lib/v20180125/models.rb', line 5790

def NeedTotalCount
  @NeedTotalCount
end

#PageIndexObject



5790
5791
5792
# File 'lib/v20180125/models.rb', line 5790

def PageIndex
  @PageIndex
end

#PageSizeObject



5790
5791
5792
# File 'lib/v20180125/models.rb', line 5790

def PageSize
  @PageSize
end

#SortObject



5790
5791
5792
# File 'lib/v20180125/models.rb', line 5790

def Sort
  @Sort
end

#StartTsObject



5790
5791
5792
# File 'lib/v20180125/models.rb', line 5790

def StartTs
  @StartTs
end

Instance Method Details

#deserialize(params) ⇒ Object



5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
# File 'lib/v20180125/models.rb', line 5803

def deserialize(params)
  @Domain = params['Domain']
  @PageIndex = params['PageIndex']
  @PageSize = params['PageSize']
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      apidatafilter_tmp = ApiDataFilter.new
      apidatafilter_tmp.deserialize(i)
      @Filters << apidatafilter_tmp
    end
  end
  @Sort = params['Sort']
  @NeedTotalCount = params['NeedTotalCount']
  @StartTs = params['StartTs']
  @EndTs = params['EndTs']
end