Class: TencentCloud::Apigateway::V20180808::ServiceReleaseHistory

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

Overview

服务发布历史

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, versionlist = nil) ⇒ ServiceReleaseHistory

Returns a new instance of ServiceReleaseHistory.



8875
8876
8877
8878
# File 'lib/v20180808/models.rb', line 8875

def initialize(totalcount=nil, versionlist=nil)
  @TotalCount = totalcount
  @VersionList = versionlist
end

Instance Attribute Details

#TotalCountObject

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

Parameters:

  • TotalCount:

    发布版本总数。

  • VersionList:

    历史版本列表。



8873
8874
8875
# File 'lib/v20180808/models.rb', line 8873

def TotalCount
  @TotalCount
end

#VersionListObject

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

Parameters:

  • TotalCount:

    发布版本总数。

  • VersionList:

    历史版本列表。



8873
8874
8875
# File 'lib/v20180808/models.rb', line 8873

def VersionList
  @VersionList
end

Instance Method Details

#deserialize(params) ⇒ Object



8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
# File 'lib/v20180808/models.rb', line 8880

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['VersionList'].nil?
    @VersionList = []
    params['VersionList'].each do |i|
      servicereleasehistoryinfo_tmp = ServiceReleaseHistoryInfo.new
      servicereleasehistoryinfo_tmp.deserialize(i)
      @VersionList << servicereleasehistoryinfo_tmp
    end
  end
end