Class: TencentCloud::Monitor::V20180724::ModifyAlarmNoticeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::ModifyAlarmNoticeRequest
- Defined in:
- lib/v20180724/models.rb
Overview
ModifyAlarmNotice请求参数结构体
Instance Attribute Summary collapse
- #CLSNotices ⇒ Object
- #IsLoginFree ⇒ Object
- #Module ⇒ Object
- #Name ⇒ Object
- #NoticeId ⇒ Object
- #NoticeLanguage ⇒ Object
- #NoticeType ⇒ Object
- #PolicyIds ⇒ Object
- #URLNotices ⇒ Object
- #UserNotices ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(_module = nil, name = nil, noticetype = nil, noticelanguage = nil, noticeid = nil, usernotices = nil, urlnotices = nil, clsnotices = nil, policyids = nil, isloginfree = nil) ⇒ ModifyAlarmNoticeRequest
constructor
A new instance of ModifyAlarmNoticeRequest.
Constructor Details
#initialize(_module = nil, name = nil, noticetype = nil, noticelanguage = nil, noticeid = nil, usernotices = nil, urlnotices = nil, clsnotices = nil, policyids = nil, isloginfree = nil) ⇒ ModifyAlarmNoticeRequest
Returns a new instance of ModifyAlarmNoticeRequest.
11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 |
# File 'lib/v20180724/models.rb', line 11332 def initialize(_module=nil, name=nil, noticetype=nil, noticelanguage=nil, noticeid=nil, usernotices=nil, urlnotices=nil, clsnotices=nil, policyids=nil, isloginfree=nil) @Module = _module @Name = name @NoticeType = noticetype @NoticeLanguage = noticelanguage @NoticeId = noticeid @UserNotices = usernotices @URLNotices = urlnotices @CLSNotices = clsnotices @PolicyIds = policyids @IsLoginFree = isloginfree end |
Instance Attribute Details
#CLSNotices ⇒ Object
11330 11331 11332 |
# File 'lib/v20180724/models.rb', line 11330 def CLSNotices @CLSNotices end |
#IsLoginFree ⇒ Object
11330 11331 11332 |
# File 'lib/v20180724/models.rb', line 11330 def IsLoginFree @IsLoginFree end |
#Module ⇒ Object
11330 11331 11332 |
# File 'lib/v20180724/models.rb', line 11330 def Module @Module end |
#Name ⇒ Object
11330 11331 11332 |
# File 'lib/v20180724/models.rb', line 11330 def Name @Name end |
#NoticeId ⇒ Object
11330 11331 11332 |
# File 'lib/v20180724/models.rb', line 11330 def NoticeId @NoticeId end |
#NoticeLanguage ⇒ Object
11330 11331 11332 |
# File 'lib/v20180724/models.rb', line 11330 def NoticeLanguage @NoticeLanguage end |
#NoticeType ⇒ Object
11330 11331 11332 |
# File 'lib/v20180724/models.rb', line 11330 def NoticeType @NoticeType end |
#PolicyIds ⇒ Object
11330 11331 11332 |
# File 'lib/v20180724/models.rb', line 11330 def PolicyIds @PolicyIds end |
#URLNotices ⇒ Object
11330 11331 11332 |
# File 'lib/v20180724/models.rb', line 11330 def URLNotices @URLNotices end |
#UserNotices ⇒ Object
11330 11331 11332 |
# File 'lib/v20180724/models.rb', line 11330 def UserNotices @UserNotices end |
Instance Method Details
#deserialize(params) ⇒ Object
11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 |
# File 'lib/v20180724/models.rb', line 11345 def deserialize(params) @Module = params['Module'] @Name = params['Name'] @NoticeType = params['NoticeType'] @NoticeLanguage = params['NoticeLanguage'] @NoticeId = params['NoticeId'] unless params['UserNotices'].nil? @UserNotices = [] params['UserNotices'].each do |i| usernotice_tmp = UserNotice.new usernotice_tmp.deserialize(i) @UserNotices << usernotice_tmp end end unless params['URLNotices'].nil? @URLNotices = [] params['URLNotices'].each do |i| urlnotice_tmp = URLNotice.new urlnotice_tmp.deserialize(i) @URLNotices << urlnotice_tmp end end unless params['CLSNotices'].nil? @CLSNotices = [] params['CLSNotices'].each do |i| clsnotice_tmp = CLSNotice.new clsnotice_tmp.deserialize(i) @CLSNotices << clsnotice_tmp end end @PolicyIds = params['PolicyIds'] @IsLoginFree = params['IsLoginFree'] end |