Class: TencentCloud::Cfs::V20190719::CreateCfsSnapshotResponse

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

Overview

CreateCfsSnapshot返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of CreateCfsSnapshotResponse.



729
730
731
732
# File 'lib/v20190719/models.rb', line 729

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

Instance Attribute Details

#RequestIdObject

Parameters:

  • SnapshotId:

    文件系统快照id

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



727
728
729
# File 'lib/v20190719/models.rb', line 727

def RequestId
  @RequestId
end

#SnapshotIdObject

Parameters:

  • SnapshotId:

    文件系统快照id

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



727
728
729
# File 'lib/v20190719/models.rb', line 727

def SnapshotId
  @SnapshotId
end

Instance Method Details

#deserialize(params) ⇒ Object



734
735
736
737
# File 'lib/v20190719/models.rb', line 734

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