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.
7927 7928 7929 7930 7931 7932 7933 |
# File 'lib/v20210331/models.rb', line 7927 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
7925 7926 7927 |
# File 'lib/v20210331/models.rb', line 7925 def Content @Content end |
#Description ⇒ Object
7925 7926 7927 |
# File 'lib/v20210331/models.rb', line 7925 def Description @Description end |
#Name ⇒ Object
7925 7926 7927 |
# File 'lib/v20210331/models.rb', line 7925 def Name @Name end |
#PolicyId ⇒ Object
7925 7926 7927 |
# File 'lib/v20210331/models.rb', line 7925 def PolicyId @PolicyId end |
#Type ⇒ Object
7925 7926 7927 |
# File 'lib/v20210331/models.rb', line 7925 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
7935 7936 7937 7938 7939 7940 7941 |
# File 'lib/v20210331/models.rb', line 7935 def deserialize(params) @PolicyId = params['PolicyId'] @Description = params['Description'] @Content = params['Content'] @Name = params['Name'] @Type = params['Type'] end |