Class: TencentCloud::Cwp::V20180228::ProtectNetInfo

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, protectdays = nil, status = nil, starttime = nil, endtime = nil, reportpath = nil) ⇒ ProtectNetInfo

Returns a new instance of ProtectNetInfo.



36055
36056
36057
36058
36059
36060
36061
36062
# File 'lib/v20180228/models.rb', line 36055

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

Instance Attribute Details

#EndTimeObject

Parameters:

  • TaskId:

    任务id

  • ProtectDays:

    重保天数

  • Status:

    重保状态 0未启动,1重保中,2已完成

  • StartTime:

    重保启动时间

  • EndTime:

    重保完成时间

  • ReportPath:

    报告下载地址



36053
36054
36055
# File 'lib/v20180228/models.rb', line 36053

def EndTime
  @EndTime
end

#ProtectDaysObject

Parameters:

  • TaskId:

    任务id

  • ProtectDays:

    重保天数

  • Status:

    重保状态 0未启动,1重保中,2已完成

  • StartTime:

    重保启动时间

  • EndTime:

    重保完成时间

  • ReportPath:

    报告下载地址



36053
36054
36055
# File 'lib/v20180228/models.rb', line 36053

def ProtectDays
  @ProtectDays
end

#ReportPathObject

Parameters:

  • TaskId:

    任务id

  • ProtectDays:

    重保天数

  • Status:

    重保状态 0未启动,1重保中,2已完成

  • StartTime:

    重保启动时间

  • EndTime:

    重保完成时间

  • ReportPath:

    报告下载地址



36053
36054
36055
# File 'lib/v20180228/models.rb', line 36053

def ReportPath
  @ReportPath
end

#StartTimeObject

Parameters:

  • TaskId:

    任务id

  • ProtectDays:

    重保天数

  • Status:

    重保状态 0未启动,1重保中,2已完成

  • StartTime:

    重保启动时间

  • EndTime:

    重保完成时间

  • ReportPath:

    报告下载地址



36053
36054
36055
# File 'lib/v20180228/models.rb', line 36053

def StartTime
  @StartTime
end

#StatusObject

Parameters:

  • TaskId:

    任务id

  • ProtectDays:

    重保天数

  • Status:

    重保状态 0未启动,1重保中,2已完成

  • StartTime:

    重保启动时间

  • EndTime:

    重保完成时间

  • ReportPath:

    报告下载地址



36053
36054
36055
# File 'lib/v20180228/models.rb', line 36053

def Status
  @Status
end

#TaskIdObject

Parameters:

  • TaskId:

    任务id

  • ProtectDays:

    重保天数

  • Status:

    重保状态 0未启动,1重保中,2已完成

  • StartTime:

    重保启动时间

  • EndTime:

    重保完成时间

  • ReportPath:

    报告下载地址



36053
36054
36055
# File 'lib/v20180228/models.rb', line 36053

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



36064
36065
36066
36067
36068
36069
36070
36071
# File 'lib/v20180228/models.rb', line 36064

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