Class: TencentCloud::Cme::V20191029::DescribeResourceAuthorizationRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cme::V20191029::DescribeResourceAuthorizationRequest
- Defined in:
- lib/v20191029/models.rb
Overview
DescribeResourceAuthorization请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(platform = nil, owner = nil, resource = nil, operator = nil) ⇒ DescribeResourceAuthorizationRequest
constructor
A new instance of DescribeResourceAuthorizationRequest.
Constructor Details
#initialize(platform = nil, owner = nil, resource = nil, operator = nil) ⇒ DescribeResourceAuthorizationRequest
Returns a new instance of DescribeResourceAuthorizationRequest.
1645 1646 1647 1648 1649 1650 |
# File 'lib/v20191029/models.rb', line 1645 def initialize(platform=nil, owner=nil, resource=nil, operator=nil) @Platform = platform @Owner = owner @Resource = resource @Operator = operator end |
Instance Attribute Details
#Operator ⇒ Object
1643 1644 1645 |
# File 'lib/v20191029/models.rb', line 1643 def Operator @Operator end |
#Owner ⇒ Object
1643 1644 1645 |
# File 'lib/v20191029/models.rb', line 1643 def Owner @Owner end |
#Platform ⇒ Object
1643 1644 1645 |
# File 'lib/v20191029/models.rb', line 1643 def Platform @Platform end |
#Resource ⇒ Object
1643 1644 1645 |
# File 'lib/v20191029/models.rb', line 1643 def Resource @Resource end |
Instance Method Details
#deserialize(params) ⇒ Object
1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 |
# File 'lib/v20191029/models.rb', line 1652 def deserialize(params) @Platform = params['Platform'] unless params['Owner'].nil? @Owner = Entity.new @Owner.deserialize(params['Owner']) end unless params['Resource'].nil? @Resource = Resource.new @Resource.deserialize(params['Resource']) end @Operator = params['Operator'] end |