Class: TencentCloud::Tke::V20180525::UpgradeAbleInstancesItem

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, version = nil, latestversion = nil, runtimeversion = nil, runtimelatestversion = nil) ⇒ UpgradeAbleInstancesItem

Returns a new instance of UpgradeAbleInstancesItem.



19317
19318
19319
19320
19321
19322
19323
# File 'lib/v20180525/models.rb', line 19317

def initialize(instanceid=nil, version=nil, latestversion=nil, runtimeversion=nil, runtimelatestversion=nil)
  @InstanceId = instanceid
  @Version = version
  @LatestVersion = latestversion
  @RuntimeVersion = runtimeversion
  @RuntimeLatestVersion = runtimelatestversion
end

Instance Attribute Details

#InstanceIdObject

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

Parameters:

  • InstanceId:

    节点Id

  • Version:

    节点的当前版本

  • LatestVersion:

    当前版本的最新小版本

  • RuntimeVersion:

    RuntimeVersion

  • RuntimeLatestVersion:

    RuntimeLatestVersion



19315
19316
19317
# File 'lib/v20180525/models.rb', line 19315

def InstanceId
  @InstanceId
end

#LatestVersionObject

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

Parameters:

  • InstanceId:

    节点Id

  • Version:

    节点的当前版本

  • LatestVersion:

    当前版本的最新小版本

  • RuntimeVersion:

    RuntimeVersion

  • RuntimeLatestVersion:

    RuntimeLatestVersion



19315
19316
19317
# File 'lib/v20180525/models.rb', line 19315

def LatestVersion
  @LatestVersion
end

#RuntimeLatestVersionObject

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

Parameters:

  • InstanceId:

    节点Id

  • Version:

    节点的当前版本

  • LatestVersion:

    当前版本的最新小版本

  • RuntimeVersion:

    RuntimeVersion

  • RuntimeLatestVersion:

    RuntimeLatestVersion



19315
19316
19317
# File 'lib/v20180525/models.rb', line 19315

def RuntimeLatestVersion
  @RuntimeLatestVersion
end

#RuntimeVersionObject

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

Parameters:

  • InstanceId:

    节点Id

  • Version:

    节点的当前版本

  • LatestVersion:

    当前版本的最新小版本

  • RuntimeVersion:

    RuntimeVersion

  • RuntimeLatestVersion:

    RuntimeLatestVersion



19315
19316
19317
# File 'lib/v20180525/models.rb', line 19315

def RuntimeVersion
  @RuntimeVersion
end

#VersionObject

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

Parameters:

  • InstanceId:

    节点Id

  • Version:

    节点的当前版本

  • LatestVersion:

    当前版本的最新小版本

  • RuntimeVersion:

    RuntimeVersion

  • RuntimeLatestVersion:

    RuntimeLatestVersion



19315
19316
19317
# File 'lib/v20180525/models.rb', line 19315

def Version
  @Version
end

Instance Method Details

#deserialize(params) ⇒ Object



19325
19326
19327
19328
19329
19330
19331
# File 'lib/v20180525/models.rb', line 19325

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Version = params['Version']
  @LatestVersion = params['LatestVersion']
  @RuntimeVersion = params['RuntimeVersion']
  @RuntimeLatestVersion = params['RuntimeLatestVersion']
end