Class: TencentCloud::Tke::V20180525::DescribeBackupStorageLocationsResponse

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

Overview

DescribeBackupStorageLocations返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(backupstoragelocationset = nil, requestid = nil) ⇒ DescribeBackupStorageLocationsResponse

Returns a new instance of DescribeBackupStorageLocationsResponse.



5300
5301
5302
5303
# File 'lib/v20180525/models.rb', line 5300

def initialize(backupstoragelocationset=nil, requestid=nil)
  @BackupStorageLocationSet = backupstoragelocationset
  @RequestId = requestid
end

Instance Attribute Details

#BackupStorageLocationSetObject

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

Parameters:

  • BackupStorageLocationSet:

    详细备份仓库信息

  • RequestId:

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



5298
5299
5300
# File 'lib/v20180525/models.rb', line 5298

def BackupStorageLocationSet
  @BackupStorageLocationSet
end

#RequestIdObject

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

Parameters:

  • BackupStorageLocationSet:

    详细备份仓库信息

  • RequestId:

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



5298
5299
5300
# File 'lib/v20180525/models.rb', line 5298

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
# File 'lib/v20180525/models.rb', line 5305

def deserialize(params)
  unless params['BackupStorageLocationSet'].nil?
    @BackupStorageLocationSet = []
    params['BackupStorageLocationSet'].each do |i|
      backupstoragelocation_tmp = BackupStorageLocation.new
      backupstoragelocation_tmp.deserialize(i)
      @BackupStorageLocationSet << backupstoragelocation_tmp
    end
  end
  @RequestId = params['RequestId']
end