Class: TencentCloud::Tke::V20180525::ClusterRollOutSequenceTag

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

Overview

集群发布序列标签

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, clustername = nil, tags = nil, region = nil) ⇒ ClusterRollOutSequenceTag

Returns a new instance of ClusterRollOutSequenceTag.



1694
1695
1696
1697
1698
1699
# File 'lib/v20180525/models.rb', line 1694

def initialize(clusterid=nil, clustername=nil, tags=nil, region=nil)
  @ClusterID = clusterid
  @ClusterName = clustername
  @Tags = tags
  @Region = region
end

Instance Attribute Details

#ClusterIDObject

Parameters:

  • ClusterID:

    集群ID

  • ClusterName:

    集群名称

  • Tags:

    集群发布序列标签

  • Region:

    地域



1692
1693
1694
# File 'lib/v20180525/models.rb', line 1692

def ClusterID
  @ClusterID
end

#ClusterNameObject

Parameters:

  • ClusterID:

    集群ID

  • ClusterName:

    集群名称

  • Tags:

    集群发布序列标签

  • Region:

    地域



1692
1693
1694
# File 'lib/v20180525/models.rb', line 1692

def ClusterName
  @ClusterName
end

#RegionObject

Parameters:

  • ClusterID:

    集群ID

  • ClusterName:

    集群名称

  • Tags:

    集群发布序列标签

  • Region:

    地域



1692
1693
1694
# File 'lib/v20180525/models.rb', line 1692

def Region
  @Region
end

#TagsObject

Parameters:

  • ClusterID:

    集群ID

  • ClusterName:

    集群名称

  • Tags:

    集群发布序列标签

  • Region:

    地域



1692
1693
1694
# File 'lib/v20180525/models.rb', line 1692

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
# File 'lib/v20180525/models.rb', line 1701

def deserialize(params)
  @ClusterID = params['ClusterID']
  @ClusterName = params['ClusterName']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
  @Region = params['Region']
end