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.
7931 7932 7933 7934 7935 7936 7937 |
# File 'lib/v20210527/models.rb', line 7931 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
7929 7930 7931 |
# File 'lib/v20210527/models.rb', line 7929 def ProfileId @ProfileId end |
#ProfileInfo ⇒ Object
7929 7930 7931 |
# File 'lib/v20210527/models.rb', line 7929 def ProfileInfo @ProfileInfo end |
#ProfileLevel ⇒ Object
7929 7930 7931 |
# File 'lib/v20210527/models.rb', line 7929 def ProfileLevel @ProfileLevel end |
#ProfileName ⇒ Object
7929 7930 7931 |
# File 'lib/v20210527/models.rb', line 7929 def ProfileName @ProfileName end |
#ProfileType ⇒ Object
7929 7930 7931 |
# File 'lib/v20210527/models.rb', line 7929 def ProfileType @ProfileType end |
Instance Method Details
#deserialize(params) ⇒ Object
7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 |
# File 'lib/v20210527/models.rb', line 7939 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 |