Class: TencentCloud::Dbbrain::V20210527::UserProfile
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20210527::UserProfile
- Defined in:
- lib/v20210527/models.rb
Overview
用户配置的相关信息,包括邮件配置。
Instance Attribute Summary collapse
- #ProfileId ⇒ Object
- #ProfileInfo ⇒ Object
- #ProfileLevel ⇒ Object
- #ProfileName ⇒ Object
- #ProfileType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(profileid = nil, profiletype = nil, profilelevel = nil, profilename = nil, profileinfo = nil) ⇒ UserProfile
constructor
A new instance of UserProfile.
Constructor Details
#initialize(profileid = nil, profiletype = nil, profilelevel = nil, profilename = nil, profileinfo = nil) ⇒ UserProfile
Returns a new instance of UserProfile.
8025 8026 8027 8028 8029 8030 8031 |
# File 'lib/v20210527/models.rb', line 8025 def initialize(profileid=nil, profiletype=nil, profilelevel=nil, profilename=nil, profileinfo=nil) @ProfileId = profileid @ProfileType = profiletype @ProfileLevel = profilelevel @ProfileName = profilename @ProfileInfo = profileinfo end |
Instance Attribute Details
#ProfileId ⇒ Object
8023 8024 8025 |
# File 'lib/v20210527/models.rb', line 8023 def ProfileId @ProfileId end |
#ProfileInfo ⇒ Object
8023 8024 8025 |
# File 'lib/v20210527/models.rb', line 8023 def ProfileInfo @ProfileInfo end |
#ProfileLevel ⇒ Object
8023 8024 8025 |
# File 'lib/v20210527/models.rb', line 8023 def ProfileLevel @ProfileLevel end |
#ProfileName ⇒ Object
8023 8024 8025 |
# File 'lib/v20210527/models.rb', line 8023 def ProfileName @ProfileName end |
#ProfileType ⇒ Object
8023 8024 8025 |
# File 'lib/v20210527/models.rb', line 8023 def ProfileType @ProfileType end |
Instance Method Details
#deserialize(params) ⇒ Object
8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 |
# File 'lib/v20210527/models.rb', line 8033 def deserialize(params) @ProfileId = params['ProfileId'] @ProfileType = params['ProfileType'] @ProfileLevel = params['ProfileLevel'] @ProfileName = params['ProfileName'] unless params['ProfileInfo'].nil? @ProfileInfo = ProfileInfo.new @ProfileInfo.deserialize(params['ProfileInfo']) end end |