Class: TencentCloud::Cdb::V20170320::HistoryJob

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

Overview

单条扩容历史记录

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(operationtype = nil, expandtype = nil, starttime = nil, endtime = nil, oldcpu = nil, newcpu = nil, extendcpunum = nil, error = nil) ⇒ HistoryJob

Returns a new instance of HistoryJob.



9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
# File 'lib/v20170320/models.rb', line 9088

def initialize(operationtype=nil, expandtype=nil, starttime=nil, endtime=nil, oldcpu=nil, newcpu=nil, extendcpunum=nil, error=nil)
  @OperationType = operationtype
  @ExpandType = expandtype
  @StartTime = starttime
  @EndTime = endtime
  @OldCpu = oldcpu
  @NewCpu = newcpu
  @ExtendCPUNum = extendcpunum
  @Error = error
end

Instance Attribute Details

#EndTimeObject

说明:此项显示的格式是 int 类型的 unix 时间戳 说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • 操作类型

  • 扩容类型

  • 扩容开始时间

  • 扩容结束时间

  • 扩容前核数

  • 扩容后核数

  • 增减的cpu数

  • extend_failed操作上报



9086
9087
9088
# File 'lib/v20170320/models.rb', line 9086

def EndTime
  @EndTime
end

#ErrorObject

说明:此项显示的格式是 int 类型的 unix 时间戳 说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • 操作类型

  • 扩容类型

  • 扩容开始时间

  • 扩容结束时间

  • 扩容前核数

  • 扩容后核数

  • 增减的cpu数

  • extend_failed操作上报



9086
9087
9088
# File 'lib/v20170320/models.rb', line 9086

def Error
  @Error
end

#ExpandTypeObject

说明:此项显示的格式是 int 类型的 unix 时间戳 说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • 操作类型

  • 扩容类型

  • 扩容开始时间

  • 扩容结束时间

  • 扩容前核数

  • 扩容后核数

  • 增减的cpu数

  • extend_failed操作上报



9086
9087
9088
# File 'lib/v20170320/models.rb', line 9086

def ExpandType
  @ExpandType
end

#ExtendCPUNumObject

说明:此项显示的格式是 int 类型的 unix 时间戳 说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • 操作类型

  • 扩容类型

  • 扩容开始时间

  • 扩容结束时间

  • 扩容前核数

  • 扩容后核数

  • 增减的cpu数

  • extend_failed操作上报



9086
9087
9088
# File 'lib/v20170320/models.rb', line 9086

def ExtendCPUNum
  @ExtendCPUNum
end

#NewCpuObject

说明:此项显示的格式是 int 类型的 unix 时间戳 说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • 操作类型

  • 扩容类型

  • 扩容开始时间

  • 扩容结束时间

  • 扩容前核数

  • 扩容后核数

  • 增减的cpu数

  • extend_failed操作上报



9086
9087
9088
# File 'lib/v20170320/models.rb', line 9086

def NewCpu
  @NewCpu
end

#OldCpuObject

说明:此项显示的格式是 int 类型的 unix 时间戳 说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • 操作类型

  • 扩容类型

  • 扩容开始时间

  • 扩容结束时间

  • 扩容前核数

  • 扩容后核数

  • 增减的cpu数

  • extend_failed操作上报



9086
9087
9088
# File 'lib/v20170320/models.rb', line 9086

def OldCpu
  @OldCpu
end

#OperationTypeObject

说明:此项显示的格式是 int 类型的 unix 时间戳 说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • 操作类型

  • 扩容类型

  • 扩容开始时间

  • 扩容结束时间

  • 扩容前核数

  • 扩容后核数

  • 增减的cpu数

  • extend_failed操作上报



9086
9087
9088
# File 'lib/v20170320/models.rb', line 9086

def OperationType
  @OperationType
end

#StartTimeObject

说明:此项显示的格式是 int 类型的 unix 时间戳 说明:此项显示的格式是 int 类型的 unix 时间戳

Parameters:

  • 操作类型

  • 扩容类型

  • 扩容开始时间

  • 扩容结束时间

  • 扩容前核数

  • 扩容后核数

  • 增减的cpu数

  • extend_failed操作上报



9086
9087
9088
# File 'lib/v20170320/models.rb', line 9086

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
# File 'lib/v20170320/models.rb', line 9099

def deserialize(params)
  @OperationType = params['OperationType']
  @ExpandType = params['ExpandType']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @OldCpu = params['OldCpu']
  @NewCpu = params['NewCpu']
  @ExtendCPUNum = params['ExtendCPUNum']
  @Error = params['Error']
end