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.



5693
5694
5695
5696
# File 'lib/v20180525/models.rb', line 5693

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

Instance Attribute Details

#BackupStorageLocationSetObject

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

Parameters:

  • BackupStorageLocationSet:

    详细备份仓库信息

  • RequestId:

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



5691
5692
5693
# File 'lib/v20180525/models.rb', line 5691

def BackupStorageLocationSet
  @BackupStorageLocationSet
end

#RequestIdObject

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

Parameters:

  • BackupStorageLocationSet:

    详细备份仓库信息

  • RequestId:

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



5691
5692
5693
# File 'lib/v20180525/models.rb', line 5691

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
# File 'lib/v20180525/models.rb', line 5698

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