Class: TencentCloud::Tcaplusdb::V20190823::SnapshotResult
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcaplusdb::V20190823::SnapshotResult
- Defined in:
- lib/v20190823/models.rb
Overview
创建快照结果
Instance Attribute Summary collapse
- #ApplicationId ⇒ Object
- #Error ⇒ Object
- #SnapshotCreateTime ⇒ Object
- #SnapshotDeadTime ⇒ Object
- #SnapshotName ⇒ Object
- #SnapshotSize ⇒ Object
- #SnapshotStatus ⇒ Object
- #SnapshotTime ⇒ Object
- #TableGroupId ⇒ Object
- #TableName ⇒ Object
- #TaskId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tablegroupid = nil, tablename = nil, taskid = nil, error = nil, snapshotname = nil, snapshottime = nil, snapshotdeadtime = nil, snapshotcreatetime = nil, snapshotsize = nil, snapshotstatus = nil, applicationid = nil) ⇒ SnapshotResult
constructor
A new instance of SnapshotResult.
Constructor Details
#initialize(tablegroupid = nil, tablename = nil, taskid = nil, error = nil, snapshotname = nil, snapshottime = nil, snapshotdeadtime = nil, snapshotcreatetime = nil, snapshotsize = nil, snapshotstatus = nil, applicationid = nil) ⇒ SnapshotResult
Returns a new instance of SnapshotResult.
4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 |
# File 'lib/v20190823/models.rb', line 4152 def initialize(tablegroupid=nil, tablename=nil, taskid=nil, error=nil, snapshotname=nil, snapshottime=nil, snapshotdeadtime=nil, snapshotcreatetime=nil, snapshotsize=nil, snapshotstatus=nil, applicationid=nil) @TableGroupId = tablegroupid @TableName = tablename @TaskId = taskid @Error = error @SnapshotName = snapshotname @SnapshotTime = snapshottime @SnapshotDeadTime = snapshotdeadtime @SnapshotCreateTime = snapshotcreatetime @SnapshotSize = snapshotsize @SnapshotStatus = snapshotstatus @ApplicationId = applicationid end |
Instance Attribute Details
#ApplicationId ⇒ Object
4150 4151 4152 |
# File 'lib/v20190823/models.rb', line 4150 def ApplicationId @ApplicationId end |
#Error ⇒ Object
4150 4151 4152 |
# File 'lib/v20190823/models.rb', line 4150 def Error @Error end |
#SnapshotCreateTime ⇒ Object
4150 4151 4152 |
# File 'lib/v20190823/models.rb', line 4150 def SnapshotCreateTime @SnapshotCreateTime end |
#SnapshotDeadTime ⇒ Object
4150 4151 4152 |
# File 'lib/v20190823/models.rb', line 4150 def SnapshotDeadTime @SnapshotDeadTime end |
#SnapshotName ⇒ Object
4150 4151 4152 |
# File 'lib/v20190823/models.rb', line 4150 def SnapshotName @SnapshotName end |
#SnapshotSize ⇒ Object
4150 4151 4152 |
# File 'lib/v20190823/models.rb', line 4150 def SnapshotSize @SnapshotSize end |
#SnapshotStatus ⇒ Object
4150 4151 4152 |
# File 'lib/v20190823/models.rb', line 4150 def SnapshotStatus @SnapshotStatus end |
#SnapshotTime ⇒ Object
4150 4151 4152 |
# File 'lib/v20190823/models.rb', line 4150 def SnapshotTime @SnapshotTime end |
#TableGroupId ⇒ Object
4150 4151 4152 |
# File 'lib/v20190823/models.rb', line 4150 def TableGroupId @TableGroupId end |
#TableName ⇒ Object
4150 4151 4152 |
# File 'lib/v20190823/models.rb', line 4150 def TableName @TableName end |
#TaskId ⇒ Object
4150 4151 4152 |
# File 'lib/v20190823/models.rb', line 4150 def TaskId @TaskId end |
Instance Method Details
#deserialize(params) ⇒ Object
4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 |
# File 'lib/v20190823/models.rb', line 4166 def deserialize(params) @TableGroupId = params['TableGroupId'] @TableName = params['TableName'] @TaskId = params['TaskId'] unless params['Error'].nil? @Error = ErrorInfo.new @Error.deserialize(params['Error']) end @SnapshotName = params['SnapshotName'] @SnapshotTime = params['SnapshotTime'] @SnapshotDeadTime = params['SnapshotDeadTime'] @SnapshotCreateTime = params['SnapshotCreateTime'] @SnapshotSize = params['SnapshotSize'] @SnapshotStatus = params['SnapshotStatus'] @ApplicationId = params['ApplicationId'] end |