Class: TencentCloud::Sslpod::V20190605::NoticeInfoResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sslpod::V20190605::NoticeInfoResult
- Defined in:
- lib/v20190605/models.rb
Overview
通知信息结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, noticetype = nil, limitinfos = nil) ⇒ NoticeInfoResult
constructor
A new instance of NoticeInfoResult.
Constructor Details
#initialize(id = nil, noticetype = nil, limitinfos = nil) ⇒ NoticeInfoResult
Returns a new instance of NoticeInfoResult.
732 733 734 735 736 |
# File 'lib/v20190605/models.rb', line 732 def initialize(id=nil, noticetype=nil, limitinfos=nil) @Id = id @NoticeType = noticetype @LimitInfos = limitinfos end |
Instance Attribute Details
#Id ⇒ Object
730 731 732 |
# File 'lib/v20190605/models.rb', line 730 def Id @Id end |
#LimitInfos ⇒ Object
730 731 732 |
# File 'lib/v20190605/models.rb', line 730 def LimitInfos @LimitInfos end |
#NoticeType ⇒ Object
730 731 732 |
# File 'lib/v20190605/models.rb', line 730 def NoticeType @NoticeType end |
Instance Method Details
#deserialize(params) ⇒ Object
738 739 740 741 742 743 744 745 746 747 748 749 |
# File 'lib/v20190605/models.rb', line 738 def deserialize(params) @Id = params['Id'] @NoticeType = params['NoticeType'] unless params['LimitInfos'].nil? @LimitInfos = [] params['LimitInfos'].each do |i| limitinfo_tmp = LimitInfo.new limitinfo_tmp.deserialize(i) @LimitInfos << limitinfo_tmp end end end |