Class: TencentCloud::Goosefs::V20220519::CreateFileSystemRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Goosefs::V20220519::CreateFileSystemRequest
- Defined in:
- lib/v20220519/models.rb
Overview
CreateFileSystem请求参数结构体
Instance Attribute Summary collapse
- #ClusterPort ⇒ Object
- #Description ⇒ Object
- #GooseFSxBuildElements ⇒ Object
- #Name ⇒ Object
- #SecurityGroupId ⇒ Object
- #SubnetId ⇒ Object
- #Tag ⇒ Object
- #Type ⇒ Object
- #VpcId ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, name = nil, description = nil, vpcid = nil, subnetid = nil, zone = nil, tag = nil, goosefsxbuildelements = nil, securitygroupid = nil, clusterport = nil) ⇒ CreateFileSystemRequest
constructor
A new instance of CreateFileSystemRequest.
Constructor Details
#initialize(type = nil, name = nil, description = nil, vpcid = nil, subnetid = nil, zone = nil, tag = nil, goosefsxbuildelements = nil, securitygroupid = nil, clusterport = nil) ⇒ CreateFileSystemRequest
Returns a new instance of CreateFileSystemRequest.
469 470 471 472 473 474 475 476 477 478 479 480 |
# File 'lib/v20220519/models.rb', line 469 def initialize(type=nil, name=nil, description=nil, vpcid=nil, subnetid=nil, zone=nil, tag=nil, goosefsxbuildelements=nil, securitygroupid=nil, clusterport=nil) @Type = type @Name = name @Description = description @VpcId = vpcid @SubnetId = subnetid @Zone = zone @Tag = tag @GooseFSxBuildElements = goosefsxbuildelements @SecurityGroupId = securitygroupid @ClusterPort = clusterport end |
Instance Attribute Details
#ClusterPort ⇒ Object
467 468 469 |
# File 'lib/v20220519/models.rb', line 467 def ClusterPort @ClusterPort end |
#Description ⇒ Object
467 468 469 |
# File 'lib/v20220519/models.rb', line 467 def Description @Description end |
#GooseFSxBuildElements ⇒ Object
467 468 469 |
# File 'lib/v20220519/models.rb', line 467 def GooseFSxBuildElements @GooseFSxBuildElements end |
#Name ⇒ Object
467 468 469 |
# File 'lib/v20220519/models.rb', line 467 def Name @Name end |
#SecurityGroupId ⇒ Object
467 468 469 |
# File 'lib/v20220519/models.rb', line 467 def SecurityGroupId @SecurityGroupId end |
#SubnetId ⇒ Object
467 468 469 |
# File 'lib/v20220519/models.rb', line 467 def SubnetId @SubnetId end |
#Tag ⇒ Object
467 468 469 |
# File 'lib/v20220519/models.rb', line 467 def Tag @Tag end |
#Type ⇒ Object
467 468 469 |
# File 'lib/v20220519/models.rb', line 467 def Type @Type end |
#VpcId ⇒ Object
467 468 469 |
# File 'lib/v20220519/models.rb', line 467 def VpcId @VpcId end |
#Zone ⇒ Object
467 468 469 |
# File 'lib/v20220519/models.rb', line 467 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 |
# File 'lib/v20220519/models.rb', line 482 def deserialize(params) @Type = params['Type'] @Name = params['Name'] @Description = params['Description'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @Zone = params['Zone'] unless params['Tag'].nil? @Tag = [] params['Tag'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tag << tag_tmp end end unless params['GooseFSxBuildElements'].nil? @GooseFSxBuildElements = GooseFSxBuildElement.new @GooseFSxBuildElements.deserialize(params['GooseFSxBuildElements']) end @SecurityGroupId = params['SecurityGroupId'] @ClusterPort = params['ClusterPort'] end |