Class: TencentCloud::Emr::V20190103::PodState
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::PodState
- Defined in:
- lib/v20190103/models.rb
Overview
单个pod状态
Instance Attribute Summary collapse
- #Memory ⇒ Object
- #Name ⇒ Object
- #OwnerCluster ⇒ Object
- #Reason ⇒ Object
- #State ⇒ Object
- #Uuid ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, uuid = nil, state = nil, reason = nil, ownercluster = nil, memory = nil) ⇒ PodState
constructor
A new instance of PodState.
Constructor Details
#initialize(name = nil, uuid = nil, state = nil, reason = nil, ownercluster = nil, memory = nil) ⇒ PodState
Returns a new instance of PodState.
11477 11478 11479 11480 11481 11482 11483 11484 |
# File 'lib/v20190103/models.rb', line 11477 def initialize(name=nil, uuid=nil, state=nil, reason=nil, ownercluster=nil, memory=nil) @Name = name @Uuid = uuid @State = state @Reason = reason @OwnerCluster = ownercluster @Memory = memory end |
Instance Attribute Details
#Memory ⇒ Object
11475 11476 11477 |
# File 'lib/v20190103/models.rb', line 11475 def Memory @Memory end |
#Name ⇒ Object
11475 11476 11477 |
# File 'lib/v20190103/models.rb', line 11475 def Name @Name end |
#OwnerCluster ⇒ Object
11475 11476 11477 |
# File 'lib/v20190103/models.rb', line 11475 def OwnerCluster @OwnerCluster end |
#Reason ⇒ Object
11475 11476 11477 |
# File 'lib/v20190103/models.rb', line 11475 def Reason @Reason end |
#State ⇒ Object
11475 11476 11477 |
# File 'lib/v20190103/models.rb', line 11475 def State @State end |
#Uuid ⇒ Object
11475 11476 11477 |
# File 'lib/v20190103/models.rb', line 11475 def Uuid @Uuid end |
Instance Method Details
#deserialize(params) ⇒ Object
11486 11487 11488 11489 11490 11491 11492 11493 |
# File 'lib/v20190103/models.rb', line 11486 def deserialize(params) @Name = params['Name'] @Uuid = params['Uuid'] @State = params['State'] @Reason = params['Reason'] @OwnerCluster = params['OwnerCluster'] @Memory = params['Memory'] end |