Class: TencentCloud::Monitor::V20230616::DescribeAlarmNotifyHistoriesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20230616::DescribeAlarmNotifyHistoriesRequest
- Defined in:
- lib/v20230616/models.rb
Overview
DescribeAlarmNotifyHistories请求参数结构体
Instance Attribute Summary collapse
- #ModelName ⇒ Object
- #MonitorType ⇒ Object
- #Namespace ⇒ Object
- #PageParams ⇒ Object
- #PolicyId ⇒ Object
- #QueryBaseTime ⇒ Object
- #QueryBeforeSeconds ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(monitortype = nil, querybasetime = nil, querybeforeseconds = nil, pageparams = nil, namespace = nil, modelname = nil, policyid = nil) ⇒ DescribeAlarmNotifyHistoriesRequest
constructor
A new instance of DescribeAlarmNotifyHistoriesRequest.
Constructor Details
#initialize(monitortype = nil, querybasetime = nil, querybeforeseconds = nil, pageparams = nil, namespace = nil, modelname = nil, policyid = nil) ⇒ DescribeAlarmNotifyHistoriesRequest
Returns a new instance of DescribeAlarmNotifyHistoriesRequest.
39 40 41 42 43 44 45 46 47 |
# File 'lib/v20230616/models.rb', line 39 def initialize(monitortype=nil, querybasetime=nil, querybeforeseconds=nil, pageparams=nil, namespace=nil, modelname=nil, policyid=nil) @MonitorType = monitortype @QueryBaseTime = querybasetime @QueryBeforeSeconds = querybeforeseconds @PageParams = pageparams @Namespace = namespace @ModelName = modelname @PolicyId = policyid end |
Instance Attribute Details
#ModelName ⇒ Object
37 38 39 |
# File 'lib/v20230616/models.rb', line 37 def ModelName @ModelName end |
#MonitorType ⇒ Object
37 38 39 |
# File 'lib/v20230616/models.rb', line 37 def MonitorType @MonitorType end |
#Namespace ⇒ Object
37 38 39 |
# File 'lib/v20230616/models.rb', line 37 def Namespace @Namespace end |
#PageParams ⇒ Object
37 38 39 |
# File 'lib/v20230616/models.rb', line 37 def PageParams @PageParams end |
#PolicyId ⇒ Object
37 38 39 |
# File 'lib/v20230616/models.rb', line 37 def PolicyId @PolicyId end |
#QueryBaseTime ⇒ Object
37 38 39 |
# File 'lib/v20230616/models.rb', line 37 def QueryBaseTime @QueryBaseTime end |
#QueryBeforeSeconds ⇒ Object
37 38 39 |
# File 'lib/v20230616/models.rb', line 37 def QueryBeforeSeconds @QueryBeforeSeconds end |
Instance Method Details
#deserialize(params) ⇒ Object
49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/v20230616/models.rb', line 49 def deserialize(params) @MonitorType = params['MonitorType'] @QueryBaseTime = params['QueryBaseTime'] @QueryBeforeSeconds = params['QueryBeforeSeconds'] unless params['PageParams'].nil? @PageParams = PageByNoParams.new @PageParams.deserialize(params['PageParams']) end @Namespace = params['Namespace'] @ModelName = params['ModelName'] @PolicyId = params['PolicyId'] end |