Class: TencentCloud::Iecp::V20210914::DescribeSecretsResponse

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

Overview

DescribeSecrets返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeSecretsResponse.



3902
3903
3904
3905
3906
# File 'lib/v20210914/models.rb', line 3902

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

Instance Attribute Details

#ItemsObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    总数目

  • Items:

    Secret列表

  • RequestId:

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



3900
3901
3902
# File 'lib/v20210914/models.rb', line 3900

def Items
  @Items
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    总数目

  • Items:

    Secret列表

  • RequestId:

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



3900
3901
3902
# File 'lib/v20210914/models.rb', line 3900

def RequestId
  @RequestId
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    总数目

  • Items:

    Secret列表

  • RequestId:

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



3900
3901
3902
# File 'lib/v20210914/models.rb', line 3900

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
# File 'lib/v20210914/models.rb', line 3908

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