Class: TencentCloud::Cam::V20190116::CreatePolicyVersionRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::CreatePolicyVersionRequest
- Defined in:
- lib/v20190116/models.rb
Overview
CreatePolicyVersion请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(policyid = nil, policydocument = nil, setasdefault = nil) ⇒ CreatePolicyVersionRequest
constructor
A new instance of CreatePolicyVersionRequest.
Constructor Details
#initialize(policyid = nil, policydocument = nil, setasdefault = nil) ⇒ CreatePolicyVersionRequest
Returns a new instance of CreatePolicyVersionRequest.
910 911 912 913 914 |
# File 'lib/v20190116/models.rb', line 910 def initialize(policyid=nil, policydocument=nil, setasdefault=nil) @PolicyId = policyid @PolicyDocument = policydocument @SetAsDefault = setasdefault end |
Instance Attribute Details
#PolicyDocument ⇒ Object
908 909 910 |
# File 'lib/v20190116/models.rb', line 908 def PolicyDocument @PolicyDocument end |
#PolicyId ⇒ Object
908 909 910 |
# File 'lib/v20190116/models.rb', line 908 def PolicyId @PolicyId end |
#SetAsDefault ⇒ Object
908 909 910 |
# File 'lib/v20190116/models.rb', line 908 def SetAsDefault @SetAsDefault end |
Instance Method Details
#deserialize(params) ⇒ Object
916 917 918 919 920 |
# File 'lib/v20190116/models.rb', line 916 def deserialize(params) @PolicyId = params['PolicyId'] @PolicyDocument = params['PolicyDocument'] @SetAsDefault = params['SetAsDefault'] end |