class TencentCloud::Tsf::V20180326::DescribeStatisticsRequest
DescribeStatistics请求参数结构体
def deserialize(params)
def deserialize(params) @Type = params['Type'] @TimeStep = params['TimeStep'] @Offset = params['Offset'] @Limit = params['Limit'] @NamespaceId = params['NamespaceId'] @OrderBy = params['OrderBy'] @OrderType = params['OrderType'] @EndTime = params['EndTime'] @StartTime = params['StartTime'] @ServiceName = params['ServiceName'] @SearchWord = params['SearchWord'] unless params['MetricDimensionValues'].nil? @MetricDimensionValues = [] params['MetricDimensionValues'].each do |i| metricdimensionvalue_tmp = MetricDimensionValue.new metricdimensionvalue_tmp.deserialize(i) @MetricDimensionValues << metricdimensionvalue_tmp end end @BucketKey = params['BucketKey'] @DbName = params['DbName'] @NamespaceIdList = params['NamespaceIdList'] @ConfigCenterInstanceId = params['ConfigCenterInstanceId'] end
def initialize(type=nil, timestep=nil, offset=nil, limit=nil, namespaceid=nil, orderby=nil, ordertype=nil, endtime=nil, starttime=nil, servicename=nil, searchword=nil, metricdimensionvalues=nil, bucketkey=nil, dbname=nil, namespaceidlist=nil, configcenterinstanceid=nil)
def initialize(type=nil, timestep=nil, offset=nil, limit=nil, namespaceid=nil, orderby=nil, ordertype=nil, endtime=nil, starttime=nil, servicename=nil, searchword=nil, metricdimensionvalues=nil, bucketkey=nil, dbname=nil, namespaceidlist=nil, configcenterinstanceid=nil) @Type = type @TimeStep = timestep @Offset = offset @Limit = limit @NamespaceId = namespaceid @OrderBy = orderby @OrderType = ordertype @EndTime = endtime @StartTime = starttime @ServiceName = servicename @SearchWord = searchword @MetricDimensionValues = metricdimensionvalues @BucketKey = bucketkey @DbName = dbname @NamespaceIdList = namespaceidlist @ConfigCenterInstanceId = configcenterinstanceid end