Class: TencentCloud::Tke::V20180525::CheckInstancesUpgradeAbleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CheckInstancesUpgradeAbleRequest
- Defined in:
- lib/v20180525/models.rb
Overview
CheckInstancesUpgradeAble请求参数结构体
Instance Attribute Summary collapse
- #ClusterId ⇒ Object
- #Filter ⇒ Object
- #InstanceIds ⇒ Object
- #Limit ⇒ Object
- #Offset ⇒ Object
- #UpgradeType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, instanceids = nil, upgradetype = nil, offset = nil, limit = nil, filter = nil) ⇒ CheckInstancesUpgradeAbleRequest
constructor
A new instance of CheckInstancesUpgradeAbleRequest.
Constructor Details
#initialize(clusterid = nil, instanceids = nil, upgradetype = nil, offset = nil, limit = nil, filter = nil) ⇒ CheckInstancesUpgradeAbleRequest
Returns a new instance of CheckInstancesUpgradeAbleRequest.
673 674 675 676 677 678 679 680 |
# File 'lib/v20180525/models.rb', line 673 def initialize(clusterid=nil, instanceids=nil, upgradetype=nil, offset=nil, limit=nil, filter=nil) @ClusterId = clusterid @InstanceIds = instanceids @UpgradeType = upgradetype @Offset = offset @Limit = limit @Filter = filter end |
Instance Attribute Details
#ClusterId ⇒ Object
671 672 673 |
# File 'lib/v20180525/models.rb', line 671 def ClusterId @ClusterId end |
#Filter ⇒ Object
671 672 673 |
# File 'lib/v20180525/models.rb', line 671 def Filter @Filter end |
#InstanceIds ⇒ Object
671 672 673 |
# File 'lib/v20180525/models.rb', line 671 def InstanceIds @InstanceIds end |
#Limit ⇒ Object
671 672 673 |
# File 'lib/v20180525/models.rb', line 671 def Limit @Limit end |
#Offset ⇒ Object
671 672 673 |
# File 'lib/v20180525/models.rb', line 671 def Offset @Offset end |
#UpgradeType ⇒ Object
671 672 673 |
# File 'lib/v20180525/models.rb', line 671 def UpgradeType @UpgradeType end |
Instance Method Details
#deserialize(params) ⇒ Object
682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 |
# File 'lib/v20180525/models.rb', line 682 def deserialize(params) @ClusterId = params['ClusterId'] @InstanceIds = params['InstanceIds'] @UpgradeType = params['UpgradeType'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['Filter'].nil? @Filter = [] params['Filter'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filter << filter_tmp end end end |