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.



18667
18668
18669
18670
# File 'lib/v20180525/models.rb', line 18667

def initialize(instanceid=nil, reason=nil)
  @InstanceId = instanceid
  @Reason = reason
end

Instance Attribute Details

#InstanceIdObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceId:

    实例ID

  • Reason:

    原因



18665
18666
18667
# File 'lib/v20180525/models.rb', line 18665

def InstanceId
  @InstanceId
end

#ReasonObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InstanceId:

    实例ID

  • Reason:

    原因



18665
18666
18667
# File 'lib/v20180525/models.rb', line 18665

def Reason
  @Reason
end

Instance Method Details

#deserialize(params) ⇒ Object



18672
18673
18674
18675
# File 'lib/v20180525/models.rb', line 18672

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Reason = params['Reason']
end