Class: TencentCloud::Ccc::V20200210::DescribeAutoCalloutTasksResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ccc::V20200210::DescribeAutoCalloutTasksResponse
- Defined in:
- lib/v20200210/models.rb
Overview
DescribeAutoCalloutTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, tasks = nil, requestid = nil) ⇒ DescribeAutoCalloutTasksResponse
constructor
A new instance of DescribeAutoCalloutTasksResponse.
Constructor Details
#initialize(totalcount = nil, tasks = nil, requestid = nil) ⇒ DescribeAutoCalloutTasksResponse
Returns a new instance of DescribeAutoCalloutTasksResponse.
3061 3062 3063 3064 3065 |
# File 'lib/v20200210/models.rb', line 3061 def initialize(totalcount=nil, tasks=nil, requestid=nil) @TotalCount = totalcount @Tasks = tasks @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
3059 3060 3061 |
# File 'lib/v20200210/models.rb', line 3059 def RequestId @RequestId end |
#Tasks ⇒ Object
3059 3060 3061 |
# File 'lib/v20200210/models.rb', line 3059 def Tasks @Tasks end |
#TotalCount ⇒ Object
3059 3060 3061 |
# File 'lib/v20200210/models.rb', line 3059 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 |
# File 'lib/v20200210/models.rb', line 3067 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| autocallouttaskinfo_tmp = AutoCalloutTaskInfo.new autocallouttaskinfo_tmp.deserialize(i) @Tasks << autocallouttaskinfo_tmp end end @RequestId = params['RequestId'] end |