Class: TencentCloud::Cam::V20190116::ListReceiverResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::ListReceiverResponse
- Defined in:
- lib/v20190116/models.rb
Overview
ListReceiver返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, receivers = nil, requestid = nil) ⇒ ListReceiverResponse
constructor
A new instance of ListReceiverResponse.
Constructor Details
#initialize(totalcount = nil, receivers = nil, requestid = nil) ⇒ ListReceiverResponse
Returns a new instance of ListReceiverResponse.
3821 3822 3823 3824 3825 |
# File 'lib/v20190116/models.rb', line 3821 def initialize(totalcount=nil, receivers=nil, requestid=nil) @TotalCount = totalcount @Receivers = receivers @RequestId = requestid end |
Instance Attribute Details
#Receivers ⇒ Object
3819 3820 3821 |
# File 'lib/v20190116/models.rb', line 3819 def Receivers @Receivers end |
#RequestId ⇒ Object
3819 3820 3821 |
# File 'lib/v20190116/models.rb', line 3819 def RequestId @RequestId end |
#TotalCount ⇒ Object
3819 3820 3821 |
# File 'lib/v20190116/models.rb', line 3819 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 |
# File 'lib/v20190116/models.rb', line 3827 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Receivers'].nil? @Receivers = [] params['Receivers'].each do |i| receiver_tmp = Receiver.new receiver_tmp.deserialize(i) @Receivers << receiver_tmp end end @RequestId = params['RequestId'] end |