Class: TencentCloud::Cynosdb::V20190107::DescribeBackupDownloadUrlRequest

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

Overview

DescribeBackupDownloadUrl请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, backupid = nil, downloadrestriction = nil) ⇒ DescribeBackupDownloadUrlRequest

Returns a new instance of DescribeBackupDownloadUrlRequest.



5212
5213
5214
5215
5216
# File 'lib/v20190107/models.rb', line 5212

def initialize(clusterid=nil, backupid=nil, downloadrestriction=nil)
  @ClusterId = clusterid
  @BackupId = backupid
  @DownloadRestriction = downloadrestriction
end

Instance Attribute Details

#BackupIdObject

Parameters:

  • ClusterId:

    集群ID

  • BackupId:

    备份ID

  • DownloadRestriction:

    备份下载来源限制条件



5210
5211
5212
# File 'lib/v20190107/models.rb', line 5210

def BackupId
  @BackupId
end

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • BackupId:

    备份ID

  • DownloadRestriction:

    备份下载来源限制条件



5210
5211
5212
# File 'lib/v20190107/models.rb', line 5210

def ClusterId
  @ClusterId
end

#DownloadRestrictionObject

Parameters:

  • ClusterId:

    集群ID

  • BackupId:

    备份ID

  • DownloadRestriction:

    备份下载来源限制条件



5210
5211
5212
# File 'lib/v20190107/models.rb', line 5210

def DownloadRestriction
  @DownloadRestriction
end

Instance Method Details

#deserialize(params) ⇒ Object



5218
5219
5220
5221
5222
5223
5224
5225
# File 'lib/v20190107/models.rb', line 5218

def deserialize(params)
  @ClusterId = params['ClusterId']
  @BackupId = params['BackupId']
  unless params['DownloadRestriction'].nil?
    @DownloadRestriction = BackupLimitRestriction.new
    @DownloadRestriction.deserialize(params['DownloadRestriction'])
  end
end