Class: TencentCloud::Monitor::V20180724::DescribeAlarmNoticesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::DescribeAlarmNoticesRequest
- Defined in:
- lib/v20180724/models.rb
Overview
DescribeAlarmNotices请求参数结构体
Instance Attribute Summary collapse
- #GroupIds ⇒ Object
- #Module ⇒ Object
- #Name ⇒ Object
- #NoticeIds ⇒ Object
- #OnCallFormIDs ⇒ Object
- #Order ⇒ Object
- #OwnerUid ⇒ Object
- #PageNumber ⇒ Object
- #PageSize ⇒ Object
- #ReceiverType ⇒ Object
- #Tags ⇒ Object
- #UserIds ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(_module = nil, pagenumber = nil, pagesize = nil, order = nil, owneruid = nil, name = nil, receivertype = nil, userids = nil, groupids = nil, noticeids = nil, tags = nil, oncallformids = nil) ⇒ DescribeAlarmNoticesRequest
constructor
A new instance of DescribeAlarmNoticesRequest.
Constructor Details
#initialize(_module = nil, pagenumber = nil, pagesize = nil, order = nil, owneruid = nil, name = nil, receivertype = nil, userids = nil, groupids = nil, noticeids = nil, tags = nil, oncallformids = nil) ⇒ DescribeAlarmNoticesRequest
Returns a new instance of DescribeAlarmNoticesRequest.
4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 |
# File 'lib/v20180724/models.rb', line 4559 def initialize(_module=nil, pagenumber=nil, pagesize=nil, order=nil, owneruid=nil, name=nil, receivertype=nil, userids=nil, groupids=nil, noticeids=nil, =nil, oncallformids=nil) @Module = _module @PageNumber = pagenumber @PageSize = pagesize @Order = order @OwnerUid = owneruid @Name = name @ReceiverType = receivertype @UserIds = userids @GroupIds = groupids @NoticeIds = noticeids @Tags = @OnCallFormIDs = oncallformids end |
Instance Attribute Details
#GroupIds ⇒ Object
4557 4558 4559 |
# File 'lib/v20180724/models.rb', line 4557 def GroupIds @GroupIds end |
#Module ⇒ Object
4557 4558 4559 |
# File 'lib/v20180724/models.rb', line 4557 def Module @Module end |
#Name ⇒ Object
4557 4558 4559 |
# File 'lib/v20180724/models.rb', line 4557 def Name @Name end |
#NoticeIds ⇒ Object
4557 4558 4559 |
# File 'lib/v20180724/models.rb', line 4557 def NoticeIds @NoticeIds end |
#OnCallFormIDs ⇒ Object
4557 4558 4559 |
# File 'lib/v20180724/models.rb', line 4557 def OnCallFormIDs @OnCallFormIDs end |
#Order ⇒ Object
4557 4558 4559 |
# File 'lib/v20180724/models.rb', line 4557 def Order @Order end |
#OwnerUid ⇒ Object
4557 4558 4559 |
# File 'lib/v20180724/models.rb', line 4557 def OwnerUid @OwnerUid end |
#PageNumber ⇒ Object
4557 4558 4559 |
# File 'lib/v20180724/models.rb', line 4557 def PageNumber @PageNumber end |
#PageSize ⇒ Object
4557 4558 4559 |
# File 'lib/v20180724/models.rb', line 4557 def PageSize @PageSize end |
#ReceiverType ⇒ Object
4557 4558 4559 |
# File 'lib/v20180724/models.rb', line 4557 def ReceiverType @ReceiverType end |
#Tags ⇒ Object
4557 4558 4559 |
# File 'lib/v20180724/models.rb', line 4557 def Tags @Tags end |
#UserIds ⇒ Object
4557 4558 4559 |
# File 'lib/v20180724/models.rb', line 4557 def UserIds @UserIds end |
Instance Method Details
#deserialize(params) ⇒ Object
4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 |
# File 'lib/v20180724/models.rb', line 4574 def deserialize(params) @Module = params['Module'] @PageNumber = params['PageNumber'] @PageSize = params['PageSize'] @Order = params['Order'] @OwnerUid = params['OwnerUid'] @Name = params['Name'] @ReceiverType = params['ReceiverType'] @UserIds = params['UserIds'] @GroupIds = params['GroupIds'] @NoticeIds = params['NoticeIds'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @OnCallFormIDs = params['OnCallFormIDs'] end |