Class: TencentCloud::Monitor::V20180724::CreateSSOAccountRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::CreateSSOAccountRequest
- Defined in:
- lib/v20180724/models.rb
Overview
CreateSSOAccount请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, userid = nil, role = nil, notes = nil) ⇒ CreateSSOAccountRequest
constructor
A new instance of CreateSSOAccountRequest.
Constructor Details
#initialize(instanceid = nil, userid = nil, role = nil, notes = nil) ⇒ CreateSSOAccountRequest
Returns a new instance of CreateSSOAccountRequest.
3112 3113 3114 3115 3116 3117 |
# File 'lib/v20180724/models.rb', line 3112 def initialize(instanceid=nil, userid=nil, role=nil, notes=nil) @InstanceId = instanceid @UserId = userid @Role = role @Notes = notes end |
Instance Attribute Details
#InstanceId ⇒ Object
3110 3111 3112 |
# File 'lib/v20180724/models.rb', line 3110 def InstanceId @InstanceId end |
#Notes ⇒ Object
3110 3111 3112 |
# File 'lib/v20180724/models.rb', line 3110 def Notes @Notes end |
#Role ⇒ Object
3110 3111 3112 |
# File 'lib/v20180724/models.rb', line 3110 def Role @Role end |
#UserId ⇒ Object
3110 3111 3112 |
# File 'lib/v20180724/models.rb', line 3110 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 |
# File 'lib/v20180724/models.rb', line 3119 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 |