Class: TencentCloud::Wedata::V20210820::DescribeDatabaseMetasRequest

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

Overview

DescribeDatabaseMetas请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filters = nil, orderfields = nil, pagesize = nil, pagenumber = nil) ⇒ DescribeDatabaseMetasRequest

Returns a new instance of DescribeDatabaseMetasRequest.



9678
9679
9680
9681
9682
9683
# File 'lib/v20210820/models.rb', line 9678

def initialize(filters=nil, orderfields=nil, pagesize=nil, pagenumber=nil)
  @Filters = filters
  @OrderFields = orderfields
  @PageSize = pagesize
  @PageNumber = pagenumber
end

Instance Attribute Details

#FiltersObject

Parameters:

  • Filters:

    过滤字段,projectIds/msTypes/createTime/modifiedTime

  • OrderFields:

    排序字段,如name

  • PageSize:

    pagesize

  • PageNumber:

    pageNumber



9676
9677
9678
# File 'lib/v20210820/models.rb', line 9676

def Filters
  @Filters
end

#OrderFieldsObject

Parameters:

  • Filters:

    过滤字段,projectIds/msTypes/createTime/modifiedTime

  • OrderFields:

    排序字段,如name

  • PageSize:

    pagesize

  • PageNumber:

    pageNumber



9676
9677
9678
# File 'lib/v20210820/models.rb', line 9676

def OrderFields
  @OrderFields
end

#PageNumberObject

Parameters:

  • Filters:

    过滤字段,projectIds/msTypes/createTime/modifiedTime

  • OrderFields:

    排序字段,如name

  • PageSize:

    pagesize

  • PageNumber:

    pageNumber



9676
9677
9678
# File 'lib/v20210820/models.rb', line 9676

def PageNumber
  @PageNumber
end

#PageSizeObject

Parameters:

  • Filters:

    过滤字段,projectIds/msTypes/createTime/modifiedTime

  • OrderFields:

    排序字段,如name

  • PageSize:

    pagesize

  • PageNumber:

    pageNumber



9676
9677
9678
# File 'lib/v20210820/models.rb', line 9676

def PageSize
  @PageSize
end

Instance Method Details

#deserialize(params) ⇒ Object



9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
# File 'lib/v20210820/models.rb', line 9685

def deserialize(params)
  unless params['Filters'].nil?
    @Filters = []
    params['Filters'].each do |i|
      filter_tmp = Filter.new
      filter_tmp.deserialize(i)
      @Filters << filter_tmp
    end
  end
  unless params['OrderFields'].nil?
    @OrderFields = []
    params['OrderFields'].each do |i|
      orderfield_tmp = OrderField.new
      orderfield_tmp.deserialize(i)
      @OrderFields << orderfield_tmp
    end
  end
  @PageSize = params['PageSize']
  @PageNumber = params['PageNumber']
end