Class: TencentCloud::Ame::V20190916::DescribeKTVRobotsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ame::V20190916::DescribeKTVRobotsResponse
- Defined in:
- lib/v20190916/models.rb
Overview
DescribeKTVRobots返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, ktvrobotinfoset = nil, requestid = nil) ⇒ DescribeKTVRobotsResponse
constructor
A new instance of DescribeKTVRobotsResponse.
Constructor Details
#initialize(totalcount = nil, ktvrobotinfoset = nil, requestid = nil) ⇒ DescribeKTVRobotsResponse
Returns a new instance of DescribeKTVRobotsResponse.
869 870 871 872 873 |
# File 'lib/v20190916/models.rb', line 869 def initialize(totalcount=nil, ktvrobotinfoset=nil, requestid=nil) @TotalCount = totalcount @KTVRobotInfoSet = ktvrobotinfoset @RequestId = requestid end |
Instance Attribute Details
#KTVRobotInfoSet ⇒ Object
867 868 869 |
# File 'lib/v20190916/models.rb', line 867 def KTVRobotInfoSet @KTVRobotInfoSet end |
#RequestId ⇒ Object
867 868 869 |
# File 'lib/v20190916/models.rb', line 867 def RequestId @RequestId end |
#TotalCount ⇒ Object
867 868 869 |
# File 'lib/v20190916/models.rb', line 867 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
875 876 877 878 879 880 881 882 883 884 885 886 |
# File 'lib/v20190916/models.rb', line 875 def deserialize(params) @TotalCount = params['TotalCount'] unless params['KTVRobotInfoSet'].nil? @KTVRobotInfoSet = [] params['KTVRobotInfoSet'].each do |i| ktvrobotinfo_tmp = KTVRobotInfo.new ktvrobotinfo_tmp.deserialize(i) @KTVRobotInfoSet << ktvrobotinfo_tmp end end @RequestId = params['RequestId'] end |