Class: TencentCloud::Monitor::V20180724::UpdateSSOAccountRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::UpdateSSOAccountRequest
- Defined in:
- lib/v20180724/models.rb
Overview
UpdateSSOAccount请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, userid = nil, role = nil, notes = nil) ⇒ UpdateSSOAccountRequest
constructor
A new instance of UpdateSSOAccountRequest.
Constructor Details
#initialize(instanceid = nil, userid = nil, role = nil, notes = nil) ⇒ UpdateSSOAccountRequest
Returns a new instance of UpdateSSOAccountRequest.
16233 16234 16235 16236 16237 16238 |
# File 'lib/v20180724/models.rb', line 16233 def initialize(instanceid=nil, userid=nil, role=nil, notes=nil) @InstanceId = instanceid @UserId = userid @Role = role @Notes = notes end |
Instance Attribute Details
#InstanceId ⇒ Object
16231 16232 16233 |
# File 'lib/v20180724/models.rb', line 16231 def InstanceId @InstanceId end |
#Notes ⇒ Object
16231 16232 16233 |
# File 'lib/v20180724/models.rb', line 16231 def Notes @Notes end |
#Role ⇒ Object
16231 16232 16233 |
# File 'lib/v20180724/models.rb', line 16231 def Role @Role end |
#UserId ⇒ Object
16231 16232 16233 |
# File 'lib/v20180724/models.rb', line 16231 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 |
# File 'lib/v20180724/models.rb', line 16240 def deserialize(params) @InstanceId = params['InstanceId'] @UserId = params['UserId'] unless params['Role'].nil? @Role = [] params['Role'].each do |i| grafanaaccountrole_tmp = GrafanaAccountRole.new grafanaaccountrole_tmp.deserialize(i) @Role << grafanaaccountrole_tmp end end @Notes = params['Notes'] end |