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.
3866 3867 3868 3869 3870 |
# File 'lib/v20190116/models.rb', line 3866 def initialize(totalcount=nil, receivers=nil, requestid=nil) @TotalCount = totalcount @Receivers = receivers @RequestId = requestid end |
Instance Attribute Details
#Receivers ⇒ Object
3864 3865 3866 |
# File 'lib/v20190116/models.rb', line 3864 def Receivers @Receivers end |
#RequestId ⇒ Object
3864 3865 3866 |
# File 'lib/v20190116/models.rb', line 3864 def RequestId @RequestId end |
#TotalCount ⇒ Object
3864 3865 3866 |
# File 'lib/v20190116/models.rb', line 3864 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 |
# File 'lib/v20190116/models.rb', line 3872 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 |