Class: TencentCloud::Organization::V20210331::DescribePolicyResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::DescribePolicyResponse
- Defined in:
- lib/v20210331/models.rb
Overview
DescribePolicy返回参数结构体
Instance Attribute Summary collapse
- #AddTime ⇒ Object
- #Description ⇒ Object
- #PolicyDocument ⇒ Object
- #PolicyId ⇒ Object
- #PolicyName ⇒ Object
- #RequestId ⇒ Object
- #Type ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(policyid = nil, policyname = nil, type = nil, description = nil, policydocument = nil, updatetime = nil, addtime = nil, requestid = nil) ⇒ DescribePolicyResponse
constructor
A new instance of DescribePolicyResponse.
Constructor Details
#initialize(policyid = nil, policyname = nil, type = nil, description = nil, policydocument = nil, updatetime = nil, addtime = nil, requestid = nil) ⇒ DescribePolicyResponse
Returns a new instance of DescribePolicyResponse.
3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 |
# File 'lib/v20210331/models.rb', line 3188 def initialize(policyid=nil, policyname=nil, type=nil, description=nil, policydocument=nil, updatetime=nil, addtime=nil, requestid=nil) @PolicyId = policyid @PolicyName = policyname @Type = type @Description = description @PolicyDocument = policydocument @UpdateTime = updatetime @AddTime = addtime @RequestId = requestid end |
Instance Attribute Details
#AddTime ⇒ Object
3186 3187 3188 |
# File 'lib/v20210331/models.rb', line 3186 def AddTime @AddTime end |
#Description ⇒ Object
3186 3187 3188 |
# File 'lib/v20210331/models.rb', line 3186 def Description @Description end |
#PolicyDocument ⇒ Object
3186 3187 3188 |
# File 'lib/v20210331/models.rb', line 3186 def PolicyDocument @PolicyDocument end |
#PolicyId ⇒ Object
3186 3187 3188 |
# File 'lib/v20210331/models.rb', line 3186 def PolicyId @PolicyId end |
#PolicyName ⇒ Object
3186 3187 3188 |
# File 'lib/v20210331/models.rb', line 3186 def PolicyName @PolicyName end |
#RequestId ⇒ Object
3186 3187 3188 |
# File 'lib/v20210331/models.rb', line 3186 def RequestId @RequestId end |
#Type ⇒ Object
3186 3187 3188 |
# File 'lib/v20210331/models.rb', line 3186 def Type @Type end |
#UpdateTime ⇒ Object
3186 3187 3188 |
# File 'lib/v20210331/models.rb', line 3186 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 |
# File 'lib/v20210331/models.rb', line 3199 def deserialize(params) @PolicyId = params['PolicyId'] @PolicyName = params['PolicyName'] @Type = params['Type'] @Description = params['Description'] @PolicyDocument = params['PolicyDocument'] @UpdateTime = params['UpdateTime'] @AddTime = params['AddTime'] @RequestId = params['RequestId'] end |