Class: TencentCloud::Mna::V20210119::GetFlowStatisticRequest

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

Overview

GetFlowStatistic请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceid = nil, begintime = nil, endtime = nil, type = nil, timegranularity = nil, accessregion = nil, gatewaytype = nil, devicelist = nil) ⇒ GetFlowStatisticRequest

Returns a new instance of GetFlowStatisticRequest.



1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
# File 'lib/v20210119/models.rb', line 1399

def initialize(deviceid=nil, begintime=nil, endtime=nil, type=nil, timegranularity=nil, accessregion=nil, gatewaytype=nil, devicelist=nil)
  @DeviceId = deviceid
  @BeginTime = begintime
  @EndTime = endtime
  @Type = type
  @TimeGranularity = timegranularity
  @AccessRegion = accessregion
  @GatewayType = gatewaytype
  @DeviceList = devicelist
end

Instance Attribute Details

#AccessRegionObject

Parameters:

  • DeviceId:

    设备ID

  • BeginTime:

    开始查找时间

  • EndTime:

    截止时间

  • Type:

    流量种类(1:上行流量,2:下行流量,3:上下行总和)

  • TimeGranularity:

    时间粒度(1:按小时统计,2:按天统计)

  • AccessRegion:

    接入区域。取值范围: MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。

  • GatewayType:

    网关类型。0:公有云网关;1:自有网关。不传默认为0。

  • DeviceList:

    设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传“-1”



1397
1398
1399
# File 'lib/v20210119/models.rb', line 1397

def AccessRegion
  @AccessRegion
end

#BeginTimeObject

Parameters:

  • DeviceId:

    设备ID

  • BeginTime:

    开始查找时间

  • EndTime:

    截止时间

  • Type:

    流量种类(1:上行流量,2:下行流量,3:上下行总和)

  • TimeGranularity:

    时间粒度(1:按小时统计,2:按天统计)

  • AccessRegion:

    接入区域。取值范围: MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。

  • GatewayType:

    网关类型。0:公有云网关;1:自有网关。不传默认为0。

  • DeviceList:

    设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传“-1”



1397
1398
1399
# File 'lib/v20210119/models.rb', line 1397

def BeginTime
  @BeginTime
end

#DeviceIdObject

Parameters:

  • DeviceId:

    设备ID

  • BeginTime:

    开始查找时间

  • EndTime:

    截止时间

  • Type:

    流量种类(1:上行流量,2:下行流量,3:上下行总和)

  • TimeGranularity:

    时间粒度(1:按小时统计,2:按天统计)

  • AccessRegion:

    接入区域。取值范围: MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。

  • GatewayType:

    网关类型。0:公有云网关;1:自有网关。不传默认为0。

  • DeviceList:

    设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传“-1”



1397
1398
1399
# File 'lib/v20210119/models.rb', line 1397

def DeviceId
  @DeviceId
end

#DeviceListObject

Parameters:

  • DeviceId:

    设备ID

  • BeginTime:

    开始查找时间

  • EndTime:

    截止时间

  • Type:

    流量种类(1:上行流量,2:下行流量,3:上下行总和)

  • TimeGranularity:

    时间粒度(1:按小时统计,2:按天统计)

  • AccessRegion:

    接入区域。取值范围: MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。

  • GatewayType:

    网关类型。0:公有云网关;1:自有网关。不传默认为0。

  • DeviceList:

    设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传“-1”



1397
1398
1399
# File 'lib/v20210119/models.rb', line 1397

def DeviceList
  @DeviceList
end

#EndTimeObject

Parameters:

  • DeviceId:

    设备ID

  • BeginTime:

    开始查找时间

  • EndTime:

    截止时间

  • Type:

    流量种类(1:上行流量,2:下行流量,3:上下行总和)

  • TimeGranularity:

    时间粒度(1:按小时统计,2:按天统计)

  • AccessRegion:

    接入区域。取值范围: MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。

  • GatewayType:

    网关类型。0:公有云网关;1:自有网关。不传默认为0。

  • DeviceList:

    设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传“-1”



1397
1398
1399
# File 'lib/v20210119/models.rb', line 1397

def EndTime
  @EndTime
end

#GatewayTypeObject

Parameters:

  • DeviceId:

    设备ID

  • BeginTime:

    开始查找时间

  • EndTime:

    截止时间

  • Type:

    流量种类(1:上行流量,2:下行流量,3:上下行总和)

  • TimeGranularity:

    时间粒度(1:按小时统计,2:按天统计)

  • AccessRegion:

    接入区域。取值范围: MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。

  • GatewayType:

    网关类型。0:公有云网关;1:自有网关。不传默认为0。

  • DeviceList:

    设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传“-1”



1397
1398
1399
# File 'lib/v20210119/models.rb', line 1397

def GatewayType
  @GatewayType
end

#TimeGranularityObject

Parameters:

  • DeviceId:

    设备ID

  • BeginTime:

    开始查找时间

  • EndTime:

    截止时间

  • Type:

    流量种类(1:上行流量,2:下行流量,3:上下行总和)

  • TimeGranularity:

    时间粒度(1:按小时统计,2:按天统计)

  • AccessRegion:

    接入区域。取值范围: MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。

  • GatewayType:

    网关类型。0:公有云网关;1:自有网关。不传默认为0。

  • DeviceList:

    设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传“-1”



1397
1398
1399
# File 'lib/v20210119/models.rb', line 1397

def TimeGranularity
  @TimeGranularity
end

#TypeObject

Parameters:

  • DeviceId:

    设备ID

  • BeginTime:

    开始查找时间

  • EndTime:

    截止时间

  • Type:

    流量种类(1:上行流量,2:下行流量,3:上下行总和)

  • TimeGranularity:

    时间粒度(1:按小时统计,2:按天统计)

  • AccessRegion:

    接入区域。取值范围: MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。

  • GatewayType:

    网关类型。0:公有云网关;1:自有网关。不传默认为0。

  • DeviceList:

    设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传“-1”



1397
1398
1399
# File 'lib/v20210119/models.rb', line 1397

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
# File 'lib/v20210119/models.rb', line 1410

def deserialize(params)
  @DeviceId = params['DeviceId']
  @BeginTime = params['BeginTime']
  @EndTime = params['EndTime']
  @Type = params['Type']
  @TimeGranularity = params['TimeGranularity']
  @AccessRegion = params['AccessRegion']
  @GatewayType = params['GatewayType']
  @DeviceList = params['DeviceList']
end