Class: TencentCloud::Tke::V20180525::UnavailableReason
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::UnavailableReason
- Defined in:
- lib/v20180525/models.rb
Overview
不可用原因
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, reason = nil) ⇒ UnavailableReason
constructor
A new instance of UnavailableReason.
Constructor Details
#initialize(instanceid = nil, reason = nil) ⇒ UnavailableReason
Returns a new instance of UnavailableReason.
20176 20177 20178 20179 |
# File 'lib/v20180525/models.rb', line 20176 def initialize(instanceid=nil, reason=nil) @InstanceId = instanceid @Reason = reason end |
Instance Attribute Details
#InstanceId ⇒ Object
20174 20175 20176 |
# File 'lib/v20180525/models.rb', line 20174 def InstanceId @InstanceId end |
#Reason ⇒ Object
20174 20175 20176 |
# File 'lib/v20180525/models.rb', line 20174 def Reason @Reason end |
Instance Method Details
#deserialize(params) ⇒ Object
20181 20182 20183 20184 |
# File 'lib/v20180525/models.rb', line 20181 def deserialize(params) @InstanceId = params['InstanceId'] @Reason = params['Reason'] end |