Class: TencentCloud::Organization::V20210331::UpdatePolicyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::UpdatePolicyRequest
- Defined in:
- lib/v20210331/models.rb
Overview
UpdatePolicy请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(policyid = nil, description = nil, content = nil, name = nil, type = nil) ⇒ UpdatePolicyRequest
constructor
A new instance of UpdatePolicyRequest.
Constructor Details
#initialize(policyid = nil, description = nil, content = nil, name = nil, type = nil) ⇒ UpdatePolicyRequest
Returns a new instance of UpdatePolicyRequest.
8188 8189 8190 8191 8192 8193 8194 |
# File 'lib/v20210331/models.rb', line 8188 def initialize(policyid=nil, description=nil, content=nil, name=nil, type=nil) @PolicyId = policyid @Description = description @Content = content @Name = name @Type = type end |
Instance Attribute Details
#Content ⇒ Object
8186 8187 8188 |
# File 'lib/v20210331/models.rb', line 8186 def Content @Content end |
#Description ⇒ Object
8186 8187 8188 |
# File 'lib/v20210331/models.rb', line 8186 def Description @Description end |
#Name ⇒ Object
8186 8187 8188 |
# File 'lib/v20210331/models.rb', line 8186 def Name @Name end |
#PolicyId ⇒ Object
8186 8187 8188 |
# File 'lib/v20210331/models.rb', line 8186 def PolicyId @PolicyId end |
#Type ⇒ Object
8186 8187 8188 |
# File 'lib/v20210331/models.rb', line 8186 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
8196 8197 8198 8199 8200 8201 8202 |
# File 'lib/v20210331/models.rb', line 8196 def deserialize(params) @PolicyId = params['PolicyId'] @Description = params['Description'] @Content = params['Content'] @Name = params['Name'] @Type = params['Type'] end |