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.



1271
1272
1273
1274
1275
1276
# File 'lib/v20191112/models.rb', line 1271

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



1269
1270
1271
# File 'lib/v20191112/models.rb', line 1269

def CreatedTime
  @CreatedTime
end

#IsDefaultObject

Parameters:

  • VpcName:

    Vpc名称

  • VpcId:

    VpcId

  • CreatedTime:

    创建时间

  • IsDefault:

    是否为默认VPC



1269
1270
1271
# File 'lib/v20191112/models.rb', line 1269

def IsDefault
  @IsDefault
end

#VpcIdObject

Parameters:

  • VpcName:

    Vpc名称

  • VpcId:

    VpcId

  • CreatedTime:

    创建时间

  • IsDefault:

    是否为默认VPC



1269
1270
1271
# File 'lib/v20191112/models.rb', line 1269

def VpcId
  @VpcId
end

#VpcNameObject

Parameters:

  • VpcName:

    Vpc名称

  • VpcId:

    VpcId

  • CreatedTime:

    创建时间

  • IsDefault:

    是否为默认VPC



1269
1270
1271
# File 'lib/v20191112/models.rb', line 1269

def VpcName
  @VpcName
end

Instance Method Details

#deserialize(params) ⇒ Object



1278
1279
1280
1281
1282
1283
# File 'lib/v20191112/models.rb', line 1278

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