Class: TencentCloud::Ecm::V20190719::DescribeSnapshotsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ecm::V20190719::DescribeSnapshotsRequest
- Defined in:
- lib/v20190719/models.rb
Overview
DescribeSnapshots请求参数结构体
Instance Attribute Summary collapse
-
#Filters ⇒ Object
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。 (SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。).
-
#Limit ⇒ Object
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。 (SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。).
-
#Offset ⇒ Object
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。 (SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。).
-
#Order ⇒ Object
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。 (SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。).
-
#OrderField ⇒ Object
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。 (SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。).
-
#SnapshotIds ⇒ Object
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。 (SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。).
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(snapshotids = nil, filters = nil, limit = nil, orderfield = nil, offset = nil, order = nil) ⇒ DescribeSnapshotsRequest
constructor
A new instance of DescribeSnapshotsRequest.
Constructor Details
#initialize(snapshotids = nil, filters = nil, limit = nil, orderfield = nil, offset = nil, order = nil) ⇒ DescribeSnapshotsRequest
Returns a new instance of DescribeSnapshotsRequest.
4531 4532 4533 4534 4535 4536 4537 4538 |
# File 'lib/v20190719/models.rb', line 4531 def initialize(snapshotids=nil, filters=nil, limit=nil, orderfield=nil, offset=nil, order=nil) @SnapshotIds = snapshotids @Filters = filters @Limit = limit @OrderField = orderfield @Offset = offset @Order = order end |
Instance Attribute Details
#Filters ⇒ Object
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。(SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。)
4529 4530 4531 |
# File 'lib/v20190719/models.rb', line 4529 def Filters @Filters end |
#Limit ⇒ Object
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。(SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。)
4529 4530 4531 |
# File 'lib/v20190719/models.rb', line 4529 def Limit @Limit end |
#Offset ⇒ Object
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。(SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。)
4529 4530 4531 |
# File 'lib/v20190719/models.rb', line 4529 def Offset @Offset end |
#Order ⇒ Object
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。(SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。)
4529 4530 4531 |
# File 'lib/v20190719/models.rb', line 4529 def Order @Order end |
#OrderField ⇒ Object
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。(SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。)
4529 4530 4531 |
# File 'lib/v20190719/models.rb', line 4529 def OrderField @OrderField end |
#SnapshotIds ⇒ Object
<li>snapshot-type- Array of String - 是否必填:否 -(过滤条件)根据snapshot-type指定的快照类型查询对应的快照。(SHARED_SNAPSHOT:表示共享过来的快照 | PRIVATE_SNAPSHOT:表示自己私有快照。)
4529 4530 4531 |
# File 'lib/v20190719/models.rb', line 4529 def SnapshotIds @SnapshotIds end |
Instance Method Details
#deserialize(params) ⇒ Object
4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 |
# File 'lib/v20190719/models.rb', line 4540 def deserialize(params) @SnapshotIds = params['SnapshotIds'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end @Limit = params['Limit'] @OrderField = params['OrderField'] @Offset = params['Offset'] @Order = params['Order'] end |