Class: TencentCloud::Cdb::V20170320::DescribeInstancePasswordComplexityResponse

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

Overview

DescribeInstancePasswordComplexity返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeInstancePasswordComplexityResponse

Returns a new instance of DescribeInstancePasswordComplexityResponse.



7406
7407
7408
7409
7410
# File 'lib/v20170320/models.rb', line 7406

def initialize(totalcount=nil, items=nil, requestid=nil)
  @TotalCount = totalcount
  @Items = items
  @RequestId = requestid
end

Instance Attribute Details

#ItemsObject

Parameters:

  • TotalCount:

    密码复杂度相关参数总数

  • Items:

    密码复杂度参数详情,policy取值范围["","LOW","MEDIUM"],空或者LOW表示:密码复杂度关,MEDIUM表示:密码复杂度开;当policy参数值是MEDIUM时,以下参数才有意义,length:取值范围[8-64],表示:最少字符数;mixed_case_count:取值范围[1-16],表示大写字母和小写字母的最少个数。number_count:取值范围[1-16],表示数字字符的最少个数。special_char_count:取值范围[1-16],表示特殊字符的最少个数。

  • RequestId:

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



7404
7405
7406
# File 'lib/v20170320/models.rb', line 7404

def Items
  @Items
end

#RequestIdObject

Parameters:

  • TotalCount:

    密码复杂度相关参数总数

  • Items:

    密码复杂度参数详情,policy取值范围["","LOW","MEDIUM"],空或者LOW表示:密码复杂度关,MEDIUM表示:密码复杂度开;当policy参数值是MEDIUM时,以下参数才有意义,length:取值范围[8-64],表示:最少字符数;mixed_case_count:取值范围[1-16],表示大写字母和小写字母的最少个数。number_count:取值范围[1-16],表示数字字符的最少个数。special_char_count:取值范围[1-16],表示特殊字符的最少个数。

  • RequestId:

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



7404
7405
7406
# File 'lib/v20170320/models.rb', line 7404

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    密码复杂度相关参数总数

  • Items:

    密码复杂度参数详情,policy取值范围["","LOW","MEDIUM"],空或者LOW表示:密码复杂度关,MEDIUM表示:密码复杂度开;当policy参数值是MEDIUM时,以下参数才有意义,length:取值范围[8-64],表示:最少字符数;mixed_case_count:取值范围[1-16],表示大写字母和小写字母的最少个数。number_count:取值范围[1-16],表示数字字符的最少个数。special_char_count:取值范围[1-16],表示特殊字符的最少个数。

  • RequestId:

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



7404
7405
7406
# File 'lib/v20170320/models.rb', line 7404

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
# File 'lib/v20170320/models.rb', line 7412

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      parameterdetail_tmp = ParameterDetail.new
      parameterdetail_tmp.deserialize(i)
      @Items << parameterdetail_tmp
    end
  end
  @RequestId = params['RequestId']
end