Class: TencentCloud::Weilingwith::V20230427::BatchKillAlarmRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::BatchKillAlarmRequest
- Defined in:
- lib/v20230427/models.rb
Overview
BatchKillAlarm请求参数结构体
Instance Attribute Summary collapse
- #AlarmTypeSet ⇒ Object
- #ApplicationToken ⇒ Object
- #BeginTime ⇒ Object
- #Desc ⇒ Object
- #EndTime ⇒ Object
- #IdSet ⇒ Object
- #LevelSet ⇒ Object
- #ProcessorId ⇒ Object
- #StatusSet ⇒ Object
- #UserId ⇒ Object
- #UserName ⇒ Object
- #WIDSet ⇒ Object
- #WorkspaceId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(begintime = nil, endtime = nil, statusset = nil, workspaceid = nil, userid = nil, username = nil, applicationtoken = nil, processorid = nil, alarmtypeset = nil, levelset = nil, widset = nil, idset = nil, desc = nil) ⇒ BatchKillAlarmRequest
constructor
A new instance of BatchKillAlarmRequest.
Constructor Details
#initialize(begintime = nil, endtime = nil, statusset = nil, workspaceid = nil, userid = nil, username = nil, applicationtoken = nil, processorid = nil, alarmtypeset = nil, levelset = nil, widset = nil, idset = nil, desc = nil) ⇒ BatchKillAlarmRequest
Returns a new instance of BatchKillAlarmRequest.
957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 |
# File 'lib/v20230427/models.rb', line 957 def initialize(begintime=nil, endtime=nil, statusset=nil, workspaceid=nil, userid=nil, username=nil, applicationtoken=nil, processorid=nil, alarmtypeset=nil, levelset=nil, widset=nil, idset=nil, desc=nil) @BeginTime = begintime @EndTime = endtime @StatusSet = statusset @WorkspaceId = workspaceid @UserId = userid @UserName = username @ApplicationToken = applicationtoken @ProcessorId = processorid @AlarmTypeSet = alarmtypeset @LevelSet = levelset @WIDSet = widset @IdSet = idset @Desc = desc end |
Instance Attribute Details
#AlarmTypeSet ⇒ Object
955 956 957 |
# File 'lib/v20230427/models.rb', line 955 def AlarmTypeSet @AlarmTypeSet end |
#ApplicationToken ⇒ Object
955 956 957 |
# File 'lib/v20230427/models.rb', line 955 def ApplicationToken @ApplicationToken end |
#BeginTime ⇒ Object
955 956 957 |
# File 'lib/v20230427/models.rb', line 955 def BeginTime @BeginTime end |
#Desc ⇒ Object
955 956 957 |
# File 'lib/v20230427/models.rb', line 955 def Desc @Desc end |
#EndTime ⇒ Object
955 956 957 |
# File 'lib/v20230427/models.rb', line 955 def EndTime @EndTime end |
#IdSet ⇒ Object
955 956 957 |
# File 'lib/v20230427/models.rb', line 955 def IdSet @IdSet end |
#LevelSet ⇒ Object
955 956 957 |
# File 'lib/v20230427/models.rb', line 955 def LevelSet @LevelSet end |
#ProcessorId ⇒ Object
955 956 957 |
# File 'lib/v20230427/models.rb', line 955 def ProcessorId @ProcessorId end |
#StatusSet ⇒ Object
955 956 957 |
# File 'lib/v20230427/models.rb', line 955 def StatusSet @StatusSet end |
#UserId ⇒ Object
955 956 957 |
# File 'lib/v20230427/models.rb', line 955 def UserId @UserId end |
#UserName ⇒ Object
955 956 957 |
# File 'lib/v20230427/models.rb', line 955 def UserName @UserName end |
#WIDSet ⇒ Object
955 956 957 |
# File 'lib/v20230427/models.rb', line 955 def WIDSet @WIDSet end |
#WorkspaceId ⇒ Object
955 956 957 |
# File 'lib/v20230427/models.rb', line 955 def WorkspaceId @WorkspaceId end |
Instance Method Details
#deserialize(params) ⇒ Object
973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 |
# File 'lib/v20230427/models.rb', line 973 def deserialize(params) @BeginTime = params['BeginTime'] @EndTime = params['EndTime'] @StatusSet = params['StatusSet'] @WorkspaceId = params['WorkspaceId'] @UserId = params['UserId'] @UserName = params['UserName'] @ApplicationToken = params['ApplicationToken'] @ProcessorId = params['ProcessorId'] unless params['AlarmTypeSet'].nil? @AlarmTypeSet = [] params['AlarmTypeSet'].each do |i| alarmtypeinfo_tmp = AlarmTypeInfo.new alarmtypeinfo_tmp.deserialize(i) @AlarmTypeSet << alarmtypeinfo_tmp end end @LevelSet = params['LevelSet'] @WIDSet = params['WIDSet'] @IdSet = params['IdSet'] @Desc = params['Desc'] end |