Class: TencentCloud::Cam::V20190116::TagRoleRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cam::V20190116::TagRoleRequest
- Defined in:
- lib/v20190116/models.rb
Overview
TagRole请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tags = nil, rolename = nil, roleid = nil) ⇒ TagRoleRequest
constructor
A new instance of TagRoleRequest.
Constructor Details
#initialize(tags = nil, rolename = nil, roleid = nil) ⇒ TagRoleRequest
Returns a new instance of TagRoleRequest.
4815 4816 4817 4818 4819 |
# File 'lib/v20190116/models.rb', line 4815 def initialize(=nil, rolename=nil, roleid=nil) @Tags = @RoleName = rolename @RoleId = roleid end |
Instance Attribute Details
#RoleId ⇒ Object
4813 4814 4815 |
# File 'lib/v20190116/models.rb', line 4813 def RoleId @RoleId end |
#RoleName ⇒ Object
4813 4814 4815 |
# File 'lib/v20190116/models.rb', line 4813 def RoleName @RoleName end |
#Tags ⇒ Object
4813 4814 4815 |
# File 'lib/v20190116/models.rb', line 4813 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 |
# File 'lib/v20190116/models.rb', line 4821 def deserialize(params) unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| = RoleTags.new .deserialize(i) @Tags << end end @RoleName = params['RoleName'] @RoleId = params['RoleId'] end |