Class: TencentCloud::Dbbrain::V20191016::UserProfile

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20191016/models.rb

Overview

用户配置的相关信息,包括邮件配置。

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ProfileIdObject

Parameters:

  • ProfileId:

    配置的id。

  • ProfileType:

    配置类型。

  • ProfileLevel:

    配置级别,“User”或“Instance”。

  • ProfileName:

    配置名称。

  • ProfileInfo:

    配置详情。



2987
2988
2989
# File 'lib/v20191016/models.rb', line 2987

def ProfileId
  @ProfileId
end

#ProfileInfoObject

Parameters:

  • ProfileId:

    配置的id。

  • ProfileType:

    配置类型。

  • ProfileLevel:

    配置级别,“User”或“Instance”。

  • ProfileName:

    配置名称。

  • ProfileInfo:

    配置详情。



2987
2988
2989
# File 'lib/v20191016/models.rb', line 2987

def ProfileInfo
  @ProfileInfo
end

#ProfileLevelObject

Parameters:

  • ProfileId:

    配置的id。

  • ProfileType:

    配置类型。

  • ProfileLevel:

    配置级别,“User”或“Instance”。

  • ProfileName:

    配置名称。

  • ProfileInfo:

    配置详情。



2987
2988
2989
# File 'lib/v20191016/models.rb', line 2987

def ProfileLevel
  @ProfileLevel
end

#ProfileNameObject

Parameters:

  • ProfileId:

    配置的id。

  • ProfileType:

    配置类型。

  • ProfileLevel:

    配置级别,“User”或“Instance”。

  • ProfileName:

    配置名称。

  • ProfileInfo:

    配置详情。



2987
2988
2989
# File 'lib/v20191016/models.rb', line 2987

def ProfileName
  @ProfileName
end

#ProfileTypeObject

Parameters:

  • ProfileId:

    配置的id。

  • ProfileType:

    配置类型。

  • ProfileLevel:

    配置级别,“User”或“Instance”。

  • ProfileName:

    配置名称。

  • ProfileInfo:

    配置详情。



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