Class: TencentCloud::Monitor::V20180724::GrafanaAccountInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::GrafanaAccountInfo
- Defined in:
- lib/v20180724/models.rb
Overview
Grafana可视化服务 授权账户信息
Instance Attribute Summary collapse
-
#CreateAt ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Notes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Role ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Uin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UserId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(userid = nil, role = nil, notes = nil, createat = nil, instanceid = nil, uin = nil) ⇒ GrafanaAccountInfo
constructor
A new instance of GrafanaAccountInfo.
Constructor Details
#initialize(userid = nil, role = nil, notes = nil, createat = nil, instanceid = nil, uin = nil) ⇒ GrafanaAccountInfo
Returns a new instance of GrafanaAccountInfo.
10406 10407 10408 10409 10410 10411 10412 10413 |
# File 'lib/v20180724/models.rb', line 10406 def initialize(userid=nil, role=nil, notes=nil, createat=nil, instanceid=nil, uin=nil) @UserId = userid @Role = role @Notes = notes @CreateAt = createat @InstanceId = instanceid @Uin = uin end |
Instance Attribute Details
#CreateAt ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10404 10405 10406 |
# File 'lib/v20180724/models.rb', line 10404 def CreateAt @CreateAt end |
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10404 10405 10406 |
# File 'lib/v20180724/models.rb', line 10404 def InstanceId @InstanceId end |
#Notes ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10404 10405 10406 |
# File 'lib/v20180724/models.rb', line 10404 def Notes @Notes end |
#Role ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10404 10405 10406 |
# File 'lib/v20180724/models.rb', line 10404 def Role @Role end |
#Uin ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10404 10405 10406 |
# File 'lib/v20180724/models.rb', line 10404 def Uin @Uin end |
#UserId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
10404 10405 10406 |
# File 'lib/v20180724/models.rb', line 10404 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 |
# File 'lib/v20180724/models.rb', line 10415 def deserialize(params) @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'] @CreateAt = params['CreateAt'] @InstanceId = params['InstanceId'] @Uin = params['Uin'] end |