Class: TencentCloud::Mna::V20210119::GetStatisticDataRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mna::V20210119::GetStatisticDataRequest
- Defined in:
- lib/v20210119/models.rb
Overview
GetStatisticData请求参数结构体
Instance Attribute Summary collapse
-
#AccessRegion ⇒ Object
1:按小时统计 2:按天统计.
-
#BeginTime ⇒ Object
1:按小时统计 2:按天统计.
-
#DeviceId ⇒ Object
1:按小时统计 2:按天统计.
-
#DeviceList ⇒ Object
1:按小时统计 2:按天统计.
-
#EndTime ⇒ Object
1:按小时统计 2:按天统计.
-
#GatewayType ⇒ Object
1:按小时统计 2:按天统计.
-
#GroupId ⇒ Object
1:按小时统计 2:按天统计.
-
#TimeGranularity ⇒ Object
1:按小时统计 2:按天统计.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(deviceid = nil, begintime = nil, endtime = nil, timegranularity = nil, accessregion = nil, gatewaytype = nil, devicelist = nil, groupid = nil) ⇒ GetStatisticDataRequest
constructor
A new instance of GetStatisticDataRequest.
Constructor Details
#initialize(deviceid = nil, begintime = nil, endtime = nil, timegranularity = nil, accessregion = nil, gatewaytype = nil, devicelist = nil, groupid = nil) ⇒ GetStatisticDataRequest
Returns a new instance of GetStatisticDataRequest.
1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 |
# File 'lib/v20210119/models.rb', line 1896 def initialize(deviceid=nil, begintime=nil, endtime=nil, timegranularity=nil, accessregion=nil, gatewaytype=nil, devicelist=nil, groupid=nil) @DeviceId = deviceid @BeginTime = begintime @EndTime = endtime @TimeGranularity = timegranularity @AccessRegion = accessregion @GatewayType = gatewaytype @DeviceList = devicelist @GroupId = groupid end |
Instance Attribute Details
#AccessRegion ⇒ Object
1:按小时统计2:按天统计
1894 1895 1896 |
# File 'lib/v20210119/models.rb', line 1894 def AccessRegion @AccessRegion end |
#BeginTime ⇒ Object
1:按小时统计2:按天统计
1894 1895 1896 |
# File 'lib/v20210119/models.rb', line 1894 def BeginTime @BeginTime end |
#DeviceId ⇒ Object
1:按小时统计2:按天统计
1894 1895 1896 |
# File 'lib/v20210119/models.rb', line 1894 def DeviceId @DeviceId end |
#DeviceList ⇒ Object
1:按小时统计2:按天统计
1894 1895 1896 |
# File 'lib/v20210119/models.rb', line 1894 def DeviceList @DeviceList end |
#EndTime ⇒ Object
1:按小时统计2:按天统计
1894 1895 1896 |
# File 'lib/v20210119/models.rb', line 1894 def EndTime @EndTime end |
#GatewayType ⇒ Object
1:按小时统计2:按天统计
1894 1895 1896 |
# File 'lib/v20210119/models.rb', line 1894 def GatewayType @GatewayType end |
#GroupId ⇒ Object
1:按小时统计2:按天统计
1894 1895 1896 |
# File 'lib/v20210119/models.rb', line 1894 def GroupId @GroupId end |
#TimeGranularity ⇒ Object
1:按小时统计2:按天统计
1894 1895 1896 |
# File 'lib/v20210119/models.rb', line 1894 def TimeGranularity @TimeGranularity end |
Instance Method Details
#deserialize(params) ⇒ Object
1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 |
# File 'lib/v20210119/models.rb', line 1907 def deserialize(params) @DeviceId = params['DeviceId'] @BeginTime = params['BeginTime'] @EndTime = params['EndTime'] @TimeGranularity = params['TimeGranularity'] @AccessRegion = params['AccessRegion'] @GatewayType = params['GatewayType'] @DeviceList = params['DeviceList'] @GroupId = params['GroupId'] end |