Class: TencentCloud::Tse::V20201207::DescribeSREInstancesRequest

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

Overview

DescribeSREInstances请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filters = nil, limit = nil, offset = nil, querytype = nil, querysource = nil) ⇒ DescribeSREInstancesRequest

Returns a new instance of DescribeSREInstancesRequest.



7127
7128
7129
7130
7131
7132
7133
# File 'lib/v20201207/models.rb', line 7127

def initialize(filters=nil, limit=nil, offset=nil, querytype=nil, querysource=nil)
  @Filters = filters
  @Limit = limit
  @Offset = offset
  @QueryType = querytype
  @QuerySource = querysource
end

Instance Attribute Details

#FiltersObject

Parameters:

  • Filters:

    请求过滤参数

  • Limit:

    翻页单页查询限制数量[0,1000], 默认值0

  • Offset:

    翻页单页偏移量,默认值0

  • QueryType:

    查询类型

  • QuerySource:

    调用方来源



7125
7126
7127
# File 'lib/v20201207/models.rb', line 7125

def Filters
  @Filters
end

#LimitObject

Parameters:

  • Filters:

    请求过滤参数

  • Limit:

    翻页单页查询限制数量[0,1000], 默认值0

  • Offset:

    翻页单页偏移量,默认值0

  • QueryType:

    查询类型

  • QuerySource:

    调用方来源



7125
7126
7127
# File 'lib/v20201207/models.rb', line 7125

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Filters:

    请求过滤参数

  • Limit:

    翻页单页查询限制数量[0,1000], 默认值0

  • Offset:

    翻页单页偏移量,默认值0

  • QueryType:

    查询类型

  • QuerySource:

    调用方来源



7125
7126
7127
# File 'lib/v20201207/models.rb', line 7125

def Offset
  @Offset
end

#QuerySourceObject

Parameters:

  • Filters:

    请求过滤参数

  • Limit:

    翻页单页查询限制数量[0,1000], 默认值0

  • Offset:

    翻页单页偏移量,默认值0

  • QueryType:

    查询类型

  • QuerySource:

    调用方来源



7125
7126
7127
# File 'lib/v20201207/models.rb', line 7125

def QuerySource
  @QuerySource
end

#QueryTypeObject

Parameters:

  • Filters:

    请求过滤参数

  • Limit:

    翻页单页查询限制数量[0,1000], 默认值0

  • Offset:

    翻页单页偏移量,默认值0

  • QueryType:

    查询类型

  • QuerySource:

    调用方来源



7125
7126
7127
# File 'lib/v20201207/models.rb', line 7125

def QueryType
  @QueryType
end

Instance Method Details

#deserialize(params) ⇒ Object



7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
# File 'lib/v20201207/models.rb', line 7135

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
  @Limit = params['Limit']
  @Offset = params['Offset']
  @QueryType = params['QueryType']
  @QuerySource = params['QuerySource']
end