Class: TencentCloud::Tke::V20180525::UnavailableReason

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

Overview

不可用原因

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#InstanceIdObject

Parameters:

  • InstanceId:

    实例ID

  • Reason:

    原因



20174
20175
20176
# File 'lib/v20180525/models.rb', line 20174

def InstanceId
  @InstanceId
end

#ReasonObject

Parameters:

  • InstanceId:

    实例ID

  • Reason:

    原因



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