Class: TencentCloud::Cbs::V20170312::CreateSnapshotResponse

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

Overview

CreateSnapshot返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(snapshotid = nil, requestid = nil) ⇒ CreateSnapshotResponse



908
909
910
911
# File 'lib/v20170312/models.rb', line 908

def initialize(snapshotid=nil, requestid=nil)
  @SnapshotId = snapshotid
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。



906
907
908
# File 'lib/v20170312/models.rb', line 906

def RequestId
  @RequestId
end

#SnapshotIdObject

注意:此字段可能返回 null,表示取不到有效值。



906
907
908
# File 'lib/v20170312/models.rb', line 906

def SnapshotId
  @SnapshotId
end

Instance Method Details

#deserialize(params) ⇒ Object



913
914
915
916
# File 'lib/v20170312/models.rb', line 913

def deserialize(params)
  @SnapshotId = params['SnapshotId']
  @RequestId = params['RequestId']
end