Class: TencentCloud::Cloudhsm::V20191112::Vpc

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

Overview

VPC对象

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(vpcname = nil, vpcid = nil, createdtime = nil, isdefault = nil) ⇒ Vpc

Returns a new instance of Vpc.



1285
1286
1287
1288
1289
1290
# File 'lib/v20191112/models.rb', line 1285

def initialize(vpcname=nil, vpcid=nil, createdtime=nil, isdefault=nil)
  @VpcName = vpcname
  @VpcId = vpcid
  @CreatedTime = createdtime
  @IsDefault = isdefault
end

Instance Attribute Details

#CreatedTimeObject

Parameters:

  • VpcName:

    Vpc名称

  • VpcId:

    VpcId

  • CreatedTime:

    创建时间

  • IsDefault:

    是否为默认VPC



1283
1284
1285
# File 'lib/v20191112/models.rb', line 1283

def CreatedTime
  @CreatedTime
end

#IsDefaultObject

Parameters:

  • VpcName:

    Vpc名称

  • VpcId:

    VpcId

  • CreatedTime:

    创建时间

  • IsDefault:

    是否为默认VPC



1283
1284
1285
# File 'lib/v20191112/models.rb', line 1283

def IsDefault
  @IsDefault
end

#VpcIdObject

Parameters:

  • VpcName:

    Vpc名称

  • VpcId:

    VpcId

  • CreatedTime:

    创建时间

  • IsDefault:

    是否为默认VPC



1283
1284
1285
# File 'lib/v20191112/models.rb', line 1283

def VpcId
  @VpcId
end

#VpcNameObject

Parameters:

  • VpcName:

    Vpc名称

  • VpcId:

    VpcId

  • CreatedTime:

    创建时间

  • IsDefault:

    是否为默认VPC



1283
1284
1285
# File 'lib/v20191112/models.rb', line 1283

def VpcName
  @VpcName
end

Instance Method Details

#deserialize(params) ⇒ Object



1292
1293
1294
1295
1296
1297
# File 'lib/v20191112/models.rb', line 1292

def deserialize(params)
  @VpcName = params['VpcName']
  @VpcId = params['VpcId']
  @CreatedTime = params['CreatedTime']
  @IsDefault = params['IsDefault']
end