Class: TencentCloud::Monitor::V20180724::BasicAuth
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::BasicAuth
- Defined in:
- lib/v20180724/models.rb
Overview
url鉴权
Instance Attribute Summary collapse
-
#Password ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UserName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(username = nil, password = nil) ⇒ BasicAuth
constructor
A new instance of BasicAuth.
Constructor Details
#initialize(username = nil, password = nil) ⇒ BasicAuth
Returns a new instance of BasicAuth.
998 999 1000 1001 |
# File 'lib/v20180724/models.rb', line 998 def initialize(username=nil, password=nil) @UserName = username @Password = password end |
Instance Attribute Details
#Password ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
996 997 998 |
# File 'lib/v20180724/models.rb', line 996 def Password @Password end |
#UserName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
996 997 998 |
# File 'lib/v20180724/models.rb', line 996 def UserName @UserName end |
Instance Method Details
#deserialize(params) ⇒ Object
1003 1004 1005 1006 |
# File 'lib/v20180724/models.rb', line 1003 def deserialize(params) @UserName = params['UserName'] @Password = params['Password'] end |