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.
4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 |
# File 'lib/v20190823/models.rb', line 4218 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
4216 4217 4218 |
# File 'lib/v20190823/models.rb', line 4216 def ApplicationId @ApplicationId end |
#Error ⇒ Object
4216 4217 4218 |
# File 'lib/v20190823/models.rb', line 4216 def Error @Error end |
#SnapshotCreateTime ⇒ Object
4216 4217 4218 |
# File 'lib/v20190823/models.rb', line 4216 def SnapshotCreateTime @SnapshotCreateTime end |
#SnapshotDeadTime ⇒ Object
4216 4217 4218 |
# File 'lib/v20190823/models.rb', line 4216 def SnapshotDeadTime @SnapshotDeadTime end |
#SnapshotName ⇒ Object
4216 4217 4218 |
# File 'lib/v20190823/models.rb', line 4216 def SnapshotName @SnapshotName end |
#SnapshotSize ⇒ Object
4216 4217 4218 |
# File 'lib/v20190823/models.rb', line 4216 def SnapshotSize @SnapshotSize end |
#SnapshotStatus ⇒ Object
4216 4217 4218 |
# File 'lib/v20190823/models.rb', line 4216 def SnapshotStatus @SnapshotStatus end |
#SnapshotTime ⇒ Object
4216 4217 4218 |
# File 'lib/v20190823/models.rb', line 4216 def SnapshotTime @SnapshotTime end |
#TableGroupId ⇒ Object
4216 4217 4218 |
# File 'lib/v20190823/models.rb', line 4216 def TableGroupId @TableGroupId end |
#TableName ⇒ Object
4216 4217 4218 |
# File 'lib/v20190823/models.rb', line 4216 def TableName @TableName end |
#TaskId ⇒ Object
4216 4217 4218 |
# File 'lib/v20190823/models.rb', line 4216 def TaskId @TaskId end |
Instance Method Details
#deserialize(params) ⇒ Object
4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 |
# File 'lib/v20190823/models.rb', line 4232 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 |