Class: TencentCloud::Cloudaudit::V20190319::GetAttributeKeyResponse

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

Overview

GetAttributeKey返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributekeydetails = nil, requestid = nil) ⇒ GetAttributeKeyResponse

Returns a new instance of GetAttributeKeyResponse.



706
707
708
709
# File 'lib/v20190319/models.rb', line 706

def initialize(attributekeydetails=nil, requestid=nil)
  @AttributeKeyDetails = attributekeydetails
  @RequestId = requestid
end

Instance Attribute Details

#AttributeKeyDetailsObject

Parameters:

  • AttributeKeyDetails:

    AttributeKey的有效取值范围

  • RequestId:

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



704
705
706
# File 'lib/v20190319/models.rb', line 704

def AttributeKeyDetails
  @AttributeKeyDetails
end

#RequestIdObject

Parameters:

  • AttributeKeyDetails:

    AttributeKey的有效取值范围

  • RequestId:

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



704
705
706
# File 'lib/v20190319/models.rb', line 704

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



711
712
713
714
715
716
717
718
719
720
721
# File 'lib/v20190319/models.rb', line 711

def deserialize(params)
  unless params['AttributeKeyDetails'].nil?
    @AttributeKeyDetails = []
    params['AttributeKeyDetails'].each do |i|
      attributekeydetail_tmp = AttributeKeyDetail.new
      attributekeydetail_tmp.deserialize(i)
      @AttributeKeyDetails << attributekeydetail_tmp
    end
  end
  @RequestId = params['RequestId']
end