Class: TencentCloud::Tcm::V20210413::CreateMeshRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcm::V20210413::CreateMeshRequest
- Defined in:
- lib/v20210413/models.rb
Overview
CreateMesh请求参数结构体
Instance Attribute Summary collapse
-
#ClusterList ⇒ Object
-
HOSTED:托管网格.
-
-
#Config ⇒ Object
-
HOSTED:托管网格.
-
-
#DisplayName ⇒ Object
-
HOSTED:托管网格.
-
-
#MeshVersion ⇒ Object
-
HOSTED:托管网格.
-
-
#TagList ⇒ Object
-
HOSTED:托管网格.
-
-
#Type ⇒ Object
-
HOSTED:托管网格.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(displayname = nil, meshversion = nil, type = nil, config = nil, clusterlist = nil, taglist = nil) ⇒ CreateMeshRequest
constructor
A new instance of CreateMeshRequest.
Constructor Details
#initialize(displayname = nil, meshversion = nil, type = nil, config = nil, clusterlist = nil, taglist = nil) ⇒ CreateMeshRequest
Returns a new instance of CreateMeshRequest.
361 362 363 364 365 366 367 368 |
# File 'lib/v20210413/models.rb', line 361 def initialize(displayname=nil, meshversion=nil, type=nil, config=nil, clusterlist=nil, taglist=nil) @DisplayName = displayname @MeshVersion = meshversion @Type = type @Config = config @ClusterList = clusterlist @TagList = taglist end |
Instance Attribute Details
#ClusterList ⇒ Object
-
HOSTED:托管网格
359 360 361 |
# File 'lib/v20210413/models.rb', line 359 def ClusterList @ClusterList end |
#Config ⇒ Object
-
HOSTED:托管网格
359 360 361 |
# File 'lib/v20210413/models.rb', line 359 def Config @Config end |
#DisplayName ⇒ Object
-
HOSTED:托管网格
359 360 361 |
# File 'lib/v20210413/models.rb', line 359 def DisplayName @DisplayName end |
#MeshVersion ⇒ Object
-
HOSTED:托管网格
359 360 361 |
# File 'lib/v20210413/models.rb', line 359 def MeshVersion @MeshVersion end |
#TagList ⇒ Object
-
HOSTED:托管网格
359 360 361 |
# File 'lib/v20210413/models.rb', line 359 def TagList @TagList end |
#Type ⇒ Object
-
HOSTED:托管网格
359 360 361 |
# File 'lib/v20210413/models.rb', line 359 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 |
# File 'lib/v20210413/models.rb', line 370 def deserialize(params) @DisplayName = params['DisplayName'] @MeshVersion = params['MeshVersion'] @Type = params['Type'] unless params['Config'].nil? @Config = MeshConfig.new @Config.deserialize(params['Config']) end unless params['ClusterList'].nil? @ClusterList = [] params['ClusterList'].each do |i| cluster_tmp = Cluster.new cluster_tmp.deserialize(i) @ClusterList << cluster_tmp end end unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @TagList << tag_tmp end end end |