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.



4942
4943
4944
4945
4946
4947
# File 'lib/v20210527/models.rb', line 4942

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。



4940
4941
4942
# File 'lib/v20210527/models.rb', line 4940

def ProfileInfo
  @ProfileInfo
end

#ProfileTypeObject

Parameters:

  • ProfileType:

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

  • UpdateTime:

    更新时间。

  • ProfileInfo:

    自治用户配置。

  • RequestId:

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



4940
4941
4942
# File 'lib/v20210527/models.rb', line 4940

def ProfileType
  @ProfileType
end

#RequestIdObject

Parameters:

  • ProfileType:

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

  • UpdateTime:

    更新时间。

  • ProfileInfo:

    自治用户配置。

  • RequestId:

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



4940
4941
4942
# File 'lib/v20210527/models.rb', line 4940

def RequestId
  @RequestId
end

#UpdateTimeObject

Parameters:

  • ProfileType:

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

  • UpdateTime:

    更新时间。

  • ProfileInfo:

    自治用户配置。

  • RequestId:

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



4940
4941
4942
# File 'lib/v20210527/models.rb', line 4940

def UpdateTime
  @UpdateTime
end

Instance Method Details

#deserialize(params) ⇒ Object



4949
4950
4951
4952
4953
4954
4955
4956
4957
# File 'lib/v20210527/models.rb', line 4949

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