Class: TencentCloud::Dbbrain::V20210527::DescribeUserAutonomyProfileResponse

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

Overview

DescribeUserAutonomyProfile返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(profiletype = nil, updatetime = nil, profileinfo = nil, requestid = nil) ⇒ DescribeUserAutonomyProfileResponse

Returns a new instance of DescribeUserAutonomyProfileResponse.



5079
5080
5081
5082
5083
5084
# File 'lib/v20210527/models.rb', line 5079

def initialize(profiletype=nil, updatetime=nil, profileinfo=nil, requestid=nil)
  @ProfileType = profiletype
  @UpdateTime = updatetime
  @ProfileInfo = profileinfo
  @RequestId = requestid
end

Instance Attribute Details

#ProfileInfoObject

Parameters:

  • ProfileType:

    配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)。

  • UpdateTime:

    更新时间。

  • ProfileInfo:

    自治用户配置。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5077
5078
5079
# File 'lib/v20210527/models.rb', line 5077

def ProfileInfo
  @ProfileInfo
end

#ProfileTypeObject

Parameters:

  • ProfileType:

    配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)。

  • UpdateTime:

    更新时间。

  • ProfileInfo:

    自治用户配置。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5077
5078
5079
# File 'lib/v20210527/models.rb', line 5077

def ProfileType
  @ProfileType
end

#RequestIdObject

Parameters:

  • ProfileType:

    配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)。

  • UpdateTime:

    更新时间。

  • ProfileInfo:

    自治用户配置。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5077
5078
5079
# File 'lib/v20210527/models.rb', line 5077

def RequestId
  @RequestId
end

#UpdateTimeObject

Parameters:

  • ProfileType:

    配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)。

  • UpdateTime:

    更新时间。

  • ProfileInfo:

    自治用户配置。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



5077
5078
5079
# File 'lib/v20210527/models.rb', line 5077

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



5086
5087
5088
5089
5090
5091
5092
5093
5094
# File 'lib/v20210527/models.rb', line 5086

def deserialize(params)
  @ProfileType = params['ProfileType']
  @UpdateTime = params['UpdateTime']
  unless params['ProfileInfo'].nil?
    @ProfileInfo = AutonomyUserProfileInfo.new
    @ProfileInfo.deserialize(params['ProfileInfo'])
  end
  @RequestId = params['RequestId']
end