Class: TencentCloud::Dbbrain::V20191016::UserProfile
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20191016::UserProfile
- Defined in:
- lib/v20191016/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.
2989 2990 2991 2992 2993 2994 2995 |
# File 'lib/v20191016/models.rb', line 2989 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
2987 2988 2989 |
# File 'lib/v20191016/models.rb', line 2987 def ProfileId @ProfileId end |
#ProfileInfo ⇒ Object
2987 2988 2989 |
# File 'lib/v20191016/models.rb', line 2987 def ProfileInfo @ProfileInfo end |
#ProfileLevel ⇒ Object
2987 2988 2989 |
# File 'lib/v20191016/models.rb', line 2987 def ProfileLevel @ProfileLevel end |
#ProfileName ⇒ Object
2987 2988 2989 |
# File 'lib/v20191016/models.rb', line 2987 def ProfileName @ProfileName end |
#ProfileType ⇒ Object
2987 2988 2989 |
# File 'lib/v20191016/models.rb', line 2987 def ProfileType @ProfileType end |
Instance Method Details
#deserialize(params) ⇒ Object
2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 |
# File 'lib/v20191016/models.rb', line 2997 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 |