Class: TencentCloud::Cam::V20190116::ListWeChatWorkSubAccountsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::ListWeChatWorkSubAccountsResponse
- Defined in:
- lib/v20190116/models.rb
Overview
ListWeChatWorkSubAccounts返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, totalcount = nil, requestid = nil) ⇒ ListWeChatWorkSubAccountsResponse
constructor
A new instance of ListWeChatWorkSubAccountsResponse.
Constructor Details
#initialize(data = nil, totalcount = nil, requestid = nil) ⇒ ListWeChatWorkSubAccountsResponse
Returns a new instance of ListWeChatWorkSubAccountsResponse.
4007 4008 4009 4010 4011 |
# File 'lib/v20190116/models.rb', line 4007 def initialize(data=nil, totalcount=nil, requestid=nil) @Data = data @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
4005 4006 4007 |
# File 'lib/v20190116/models.rb', line 4005 def Data @Data end |
#RequestId ⇒ Object
4005 4006 4007 |
# File 'lib/v20190116/models.rb', line 4005 def RequestId @RequestId end |
#TotalCount ⇒ Object
4005 4006 4007 |
# File 'lib/v20190116/models.rb', line 4005 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 |
# File 'lib/v20190116/models.rb', line 4013 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| wechatworksubaccount_tmp = WeChatWorkSubAccount.new wechatworksubaccount_tmp.deserialize(i) @Data << wechatworksubaccount_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |