Class: TencentCloud::As::V20180419::DescribeScheduledActionsResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180419/models.rb

Overview

DescribeScheduledActions返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, scheduledactionset = nil, requestid = nil) ⇒ DescribeScheduledActionsResponse

Returns a new instance of DescribeScheduledActionsResponse.



2533
2534
2535
2536
2537
# File 'lib/v20180419/models.rb', line 2533

def initialize(totalcount=nil, scheduledactionset=nil, requestid=nil)
  @TotalCount = totalcount
  @ScheduledActionSet = scheduledactionset
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    符合条件的定时任务数量。

  • ScheduledActionSet:

    定时任务详细信息列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2531
2532
2533
# File 'lib/v20180419/models.rb', line 2531

def RequestId
  @RequestId
end

#ScheduledActionSetObject

Parameters:

  • TotalCount:

    符合条件的定时任务数量。

  • ScheduledActionSet:

    定时任务详细信息列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2531
2532
2533
# File 'lib/v20180419/models.rb', line 2531

def ScheduledActionSet
  @ScheduledActionSet
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合条件的定时任务数量。

  • ScheduledActionSet:

    定时任务详细信息列表。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2531
2532
2533
# File 'lib/v20180419/models.rb', line 2531

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
# File 'lib/v20180419/models.rb', line 2539

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['ScheduledActionSet'].nil?
    @ScheduledActionSet = []
    params['ScheduledActionSet'].each do |i|
      scheduledaction_tmp = ScheduledAction.new
      scheduledaction_tmp.deserialize(i)
      @ScheduledActionSet << scheduledaction_tmp
    end
  end
  @RequestId = params['RequestId']
end