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.



851
852
853
854
# File 'lib/v20190719/models.rb', line 851

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

Instance Attribute Details

#RequestIdObject

Parameters:

  • SnapshotId:

    文件系统快照id

  • RequestId:

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



849
850
851
# File 'lib/v20190719/models.rb', line 849

def RequestId
  @RequestId
end

#SnapshotIdObject

Parameters:

  • SnapshotId:

    文件系统快照id

  • RequestId:

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



849
850
851
# File 'lib/v20190719/models.rb', line 849

def SnapshotId
  @SnapshotId
end

Instance Method Details

#deserialize(params) ⇒ Object



856
857
858
859
# File 'lib/v20190719/models.rb', line 856

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