Class: TencentCloud::Cme::V20191029::DescribeTeamsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::DescribeTeamsResponse
- Defined in:
- lib/v20191029/models.rb
Overview
DescribeTeams返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, teamset = nil, requestid = nil) ⇒ DescribeTeamsResponse
constructor
A new instance of DescribeTeamsResponse.
Constructor Details
#initialize(totalcount = nil, teamset = nil, requestid = nil) ⇒ DescribeTeamsResponse
Returns a new instance of DescribeTeamsResponse.
2018 2019 2020 2021 2022 |
# File 'lib/v20191029/models.rb', line 2018 def initialize(totalcount=nil, teamset=nil, requestid=nil) @TotalCount = totalcount @TeamSet = teamset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
2016 2017 2018 |
# File 'lib/v20191029/models.rb', line 2016 def RequestId @RequestId end |
#TeamSet ⇒ Object
2016 2017 2018 |
# File 'lib/v20191029/models.rb', line 2016 def TeamSet @TeamSet end |
#TotalCount ⇒ Object
2016 2017 2018 |
# File 'lib/v20191029/models.rb', line 2016 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 |
# File 'lib/v20191029/models.rb', line 2024 def deserialize(params) @TotalCount = params['TotalCount'] unless params['TeamSet'].nil? @TeamSet = [] params['TeamSet'].each do |i| teaminfo_tmp = TeamInfo.new teaminfo_tmp.deserialize(i) @TeamSet << teaminfo_tmp end end @RequestId = params['RequestId'] end |