Class: TencentCloud::Cwp::V20180228::EmergencyResponseInfo

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

Overview

专家服务-应急响应信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil, hostnum = nil, status = nil, starttime = nil, endtime = nil, reportpath = nil) ⇒ EmergencyResponseInfo

Returns a new instance of EmergencyResponseInfo.



25611
25612
25613
25614
25615
25616
25617
25618
# File 'lib/v20180228/models.rb', line 25611

def initialize(taskid=nil, hostnum=nil, status=nil, starttime=nil, endtime=nil, reportpath=nil)
  @TaskId = taskid
  @HostNum = hostnum
  @Status = status
  @StartTime = starttime
  @EndTime = endtime
  @ReportPath = reportpath
end

Instance Attribute Details

#EndTimeObject

Parameters:

  • TaskId:

    任务id

  • HostNum:

    主机个数

  • Status:

    服务状态 0未启动,·响应中,2响应完成

  • StartTime:

    服务开始时间

  • EndTime:

    服务结束时间

  • ReportPath:

    报告下载地址



25609
25610
25611
# File 'lib/v20180228/models.rb', line 25609

def EndTime
  @EndTime
end

#HostNumObject

Parameters:

  • TaskId:

    任务id

  • HostNum:

    主机个数

  • Status:

    服务状态 0未启动,·响应中,2响应完成

  • StartTime:

    服务开始时间

  • EndTime:

    服务结束时间

  • ReportPath:

    报告下载地址



25609
25610
25611
# File 'lib/v20180228/models.rb', line 25609

def HostNum
  @HostNum
end

#ReportPathObject

Parameters:

  • TaskId:

    任务id

  • HostNum:

    主机个数

  • Status:

    服务状态 0未启动,·响应中,2响应完成

  • StartTime:

    服务开始时间

  • EndTime:

    服务结束时间

  • ReportPath:

    报告下载地址



25609
25610
25611
# File 'lib/v20180228/models.rb', line 25609

def ReportPath
  @ReportPath
end

#StartTimeObject

Parameters:

  • TaskId:

    任务id

  • HostNum:

    主机个数

  • Status:

    服务状态 0未启动,·响应中,2响应完成

  • StartTime:

    服务开始时间

  • EndTime:

    服务结束时间

  • ReportPath:

    报告下载地址



25609
25610
25611
# File 'lib/v20180228/models.rb', line 25609

def StartTime
  @StartTime
end

#StatusObject

Parameters:

  • TaskId:

    任务id

  • HostNum:

    主机个数

  • Status:

    服务状态 0未启动,·响应中,2响应完成

  • StartTime:

    服务开始时间

  • EndTime:

    服务结束时间

  • ReportPath:

    报告下载地址



25609
25610
25611
# File 'lib/v20180228/models.rb', line 25609

def Status
  @Status
end

#TaskIdObject

Parameters:

  • TaskId:

    任务id

  • HostNum:

    主机个数

  • Status:

    服务状态 0未启动,·响应中,2响应完成

  • StartTime:

    服务开始时间

  • EndTime:

    服务结束时间

  • ReportPath:

    报告下载地址



25609
25610
25611
# File 'lib/v20180228/models.rb', line 25609

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



25620
25621
25622
25623
25624
25625
25626
25627
# File 'lib/v20180228/models.rb', line 25620

def deserialize(params)
  @TaskId = params['TaskId']
  @HostNum = params['HostNum']
  @Status = params['Status']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @ReportPath = params['ReportPath']
end