Class: TencentCloud::Dcdb::V20180411::DescribeDCDBShardsRequest

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

Overview

DescribeDCDBShards请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, shardinstanceids = nil, offset = nil, limit = nil, orderby = nil, orderbytype = nil) ⇒ DescribeDCDBShardsRequest

Returns a new instance of DescribeDCDBShardsRequest.



3302
3303
3304
3305
3306
3307
3308
3309
# File 'lib/v20180411/models.rb', line 3302

def initialize(instanceid=nil, shardinstanceids=nil, offset=nil, limit=nil, orderby=nil, orderbytype=nil)
  @InstanceId = instanceid
  @ShardInstanceIds = shardinstanceids
  @Offset = offset
  @Limit = limit
  @OrderBy = orderby
  @OrderByType = orderbytype
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • InstanceId:

    实例ID,形如:dcdbt-ow728lmc。

  • ShardInstanceIds:

    分片ID列表。

  • Offset:

    偏移量,默认为 0

  • Limit:

    返回数量,默认为 20,最大值为 100。

  • OrderBy:

    排序字段, 目前仅支持 createtime

  • OrderByType:

    排序类型, desc 或者 asc



3300
3301
3302
# File 'lib/v20180411/models.rb', line 3300

def InstanceId
  @InstanceId
end

#LimitObject

Parameters:

  • InstanceId:

    实例ID,形如:dcdbt-ow728lmc。

  • ShardInstanceIds:

    分片ID列表。

  • Offset:

    偏移量,默认为 0

  • Limit:

    返回数量,默认为 20,最大值为 100。

  • OrderBy:

    排序字段, 目前仅支持 createtime

  • OrderByType:

    排序类型, desc 或者 asc



3300
3301
3302
# File 'lib/v20180411/models.rb', line 3300

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • InstanceId:

    实例ID,形如:dcdbt-ow728lmc。

  • ShardInstanceIds:

    分片ID列表。

  • Offset:

    偏移量,默认为 0

  • Limit:

    返回数量,默认为 20,最大值为 100。

  • OrderBy:

    排序字段, 目前仅支持 createtime

  • OrderByType:

    排序类型, desc 或者 asc



3300
3301
3302
# File 'lib/v20180411/models.rb', line 3300

def Offset
  @Offset
end

#OrderByObject

Parameters:

  • InstanceId:

    实例ID,形如:dcdbt-ow728lmc。

  • ShardInstanceIds:

    分片ID列表。

  • Offset:

    偏移量,默认为 0

  • Limit:

    返回数量,默认为 20,最大值为 100。

  • OrderBy:

    排序字段, 目前仅支持 createtime

  • OrderByType:

    排序类型, desc 或者 asc



3300
3301
3302
# File 'lib/v20180411/models.rb', line 3300

def OrderBy
  @OrderBy
end

#OrderByTypeObject

Parameters:

  • InstanceId:

    实例ID,形如:dcdbt-ow728lmc。

  • ShardInstanceIds:

    分片ID列表。

  • Offset:

    偏移量,默认为 0

  • Limit:

    返回数量,默认为 20,最大值为 100。

  • OrderBy:

    排序字段, 目前仅支持 createtime

  • OrderByType:

    排序类型, desc 或者 asc



3300
3301
3302
# File 'lib/v20180411/models.rb', line 3300

def OrderByType
  @OrderByType
end

#ShardInstanceIdsObject

Parameters:

  • InstanceId:

    实例ID,形如:dcdbt-ow728lmc。

  • ShardInstanceIds:

    分片ID列表。

  • Offset:

    偏移量,默认为 0

  • Limit:

    返回数量,默认为 20,最大值为 100。

  • OrderBy:

    排序字段, 目前仅支持 createtime

  • OrderByType:

    排序类型, desc 或者 asc



3300
3301
3302
# File 'lib/v20180411/models.rb', line 3300

def ShardInstanceIds
  @ShardInstanceIds
end

Instance Method Details

#deserialize(params) ⇒ Object



3311
3312
3313
3314
3315
3316
3317
3318
# File 'lib/v20180411/models.rb', line 3311

def deserialize(params)
  @InstanceId = params['InstanceId']
  @ShardInstanceIds = params['ShardInstanceIds']
  @Offset = params['Offset']
  @Limit = params['Limit']
  @OrderBy = params['OrderBy']
  @OrderByType = params['OrderByType']
end