Class: TencentCloud::Dayu::V20180709::CreateCCSelfDefinePolicyRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dayu::V20180709::CreateCCSelfDefinePolicyRequest
- Defined in:
- lib/v20180709/models.rb
Overview
CreateCCSelfDefinePolicy请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(business = nil, id = nil, policy = nil) ⇒ CreateCCSelfDefinePolicyRequest
constructor
A new instance of CreateCCSelfDefinePolicyRequest.
Constructor Details
#initialize(business = nil, id = nil, policy = nil) ⇒ CreateCCSelfDefinePolicyRequest
538 539 540 541 542 |
# File 'lib/v20180709/models.rb', line 538 def initialize(business=nil, id=nil, policy=nil) @Business = business @Id = id @Policy = policy end |
Instance Attribute Details
#Business ⇒ Object
536 537 538 |
# File 'lib/v20180709/models.rb', line 536 def Business @Business end |
#Id ⇒ Object
536 537 538 |
# File 'lib/v20180709/models.rb', line 536 def Id @Id end |
#Policy ⇒ Object
536 537 538 |
# File 'lib/v20180709/models.rb', line 536 def Policy @Policy end |
Instance Method Details
#deserialize(params) ⇒ Object
544 545 546 547 548 549 550 551 |
# File 'lib/v20180709/models.rb', line 544 def deserialize(params) @Business = params['Business'] @Id = params['Id'] unless params['Policy'].nil? @Policy = CCPolicy.new @Policy.deserialize(params['Policy']) end end |