Class: TencentCloud::Cam::V20190116::DeletePolicyVersionRequest

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

Overview

DeletePolicyVersion请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(policyid = nil, versionid = nil) ⇒ DeletePolicyVersionRequest

Returns a new instance of DeletePolicyVersionRequest.



1382
1383
1384
1385
# File 'lib/v20190116/models.rb', line 1382

def initialize(policyid=nil, versionid=nil)
  @PolicyId = policyid
  @VersionId = versionid
end

Instance Attribute Details

#PolicyIdObject

Parameters:

  • PolicyId:

    策略ID

  • VersionId:

    策略版本号



1380
1381
1382
# File 'lib/v20190116/models.rb', line 1380

def PolicyId
  @PolicyId
end

#VersionIdObject

Parameters:

  • PolicyId:

    策略ID

  • VersionId:

    策略版本号



1380
1381
1382
# File 'lib/v20190116/models.rb', line 1380

def VersionId
  @VersionId
end

Instance Method Details

#deserialize(params) ⇒ Object



1387
1388
1389
1390
# File 'lib/v20190116/models.rb', line 1387

def deserialize(params)
  @PolicyId = params['PolicyId']
  @VersionId = params['VersionId']
end