Class: TencentCloud::Ame::V20190916::Station

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

Overview

分类内容

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(categoryid = nil, categorycode = nil, name = nil, rank = nil, imagepathmap = nil) ⇒ Station

Returns a new instance of Station.



2856
2857
2858
2859
2860
2861
2862
# File 'lib/v20190916/models.rb', line 2856

def initialize(categoryid=nil, categorycode=nil, name=nil, rank=nil, imagepathmap=nil)
  @CategoryID = categoryid
  @CategoryCode = categorycode
  @Name = name
  @Rank = rank
  @ImagePathMap = imagepathmap
end

Instance Attribute Details

#CategoryCodeObject

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

Parameters:

  • CategoryID:

    StationID

  • CategoryCode:

    Station MCCode

  • Name:

    Category Name

  • Rank:

    Station的排序值,供参考(返回结果已按其升序)

  • ImagePathMap:

    station图片集合



2854
2855
2856
# File 'lib/v20190916/models.rb', line 2854

def CategoryCode
  @CategoryCode
end

#CategoryIDObject

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

Parameters:

  • CategoryID:

    StationID

  • CategoryCode:

    Station MCCode

  • Name:

    Category Name

  • Rank:

    Station的排序值,供参考(返回结果已按其升序)

  • ImagePathMap:

    station图片集合



2854
2855
2856
# File 'lib/v20190916/models.rb', line 2854

def CategoryID
  @CategoryID
end

#ImagePathMapObject

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

Parameters:

  • CategoryID:

    StationID

  • CategoryCode:

    Station MCCode

  • Name:

    Category Name

  • Rank:

    Station的排序值,供参考(返回结果已按其升序)

  • ImagePathMap:

    station图片集合



2854
2855
2856
# File 'lib/v20190916/models.rb', line 2854

def ImagePathMap
  @ImagePathMap
end

#NameObject

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

Parameters:

  • CategoryID:

    StationID

  • CategoryCode:

    Station MCCode

  • Name:

    Category Name

  • Rank:

    Station的排序值,供参考(返回结果已按其升序)

  • ImagePathMap:

    station图片集合



2854
2855
2856
# File 'lib/v20190916/models.rb', line 2854

def Name
  @Name
end

#RankObject

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

Parameters:

  • CategoryID:

    StationID

  • CategoryCode:

    Station MCCode

  • Name:

    Category Name

  • Rank:

    Station的排序值,供参考(返回结果已按其升序)

  • ImagePathMap:

    station图片集合



2854
2855
2856
# File 'lib/v20190916/models.rb', line 2854

def Rank
  @Rank
end

Instance Method Details

#deserialize(params) ⇒ Object



2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
# File 'lib/v20190916/models.rb', line 2864

def deserialize(params)
  @CategoryID = params['CategoryID']
  @CategoryCode = params['CategoryCode']
  @Name = params['Name']
  @Rank = params['Rank']
  unless params['ImagePathMap'].nil?
    @ImagePathMap = []
    params['ImagePathMap'].each do |i|
      imagepath_tmp = ImagePath.new
      imagepath_tmp.deserialize(i)
      @ImagePathMap << imagepath_tmp
    end
  end
end