Class: TencentCloud::Ssm::V20190923::ListSecretsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssm::V20190923::ListSecretsResponse
- Defined in:
- lib/v20190923/models.rb
Overview
ListSecrets返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, secretmetadatas = nil, requestid = nil) ⇒ ListSecretsResponse
constructor
A new instance of ListSecretsResponse.
Constructor Details
#initialize(totalcount = nil, secretmetadatas = nil, requestid = nil) ⇒ ListSecretsResponse
Returns a new instance of ListSecretsResponse.
1097 1098 1099 1100 1101 |
# File 'lib/v20190923/models.rb', line 1097 def initialize(totalcount=nil, =nil, requestid=nil) @TotalCount = totalcount @SecretMetadatas = @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1095 1096 1097 |
# File 'lib/v20190923/models.rb', line 1095 def RequestId @RequestId end |
#SecretMetadatas ⇒ Object
1095 1096 1097 |
# File 'lib/v20190923/models.rb', line 1095 def SecretMetadatas @SecretMetadatas end |
#TotalCount ⇒ Object
1095 1096 1097 |
# File 'lib/v20190923/models.rb', line 1095 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 |
# File 'lib/v20190923/models.rb', line 1103 def deserialize(params) @TotalCount = params['TotalCount'] unless params['SecretMetadatas'].nil? @SecretMetadatas = [] params['SecretMetadatas'].each do |i| = SecretMetadata.new .deserialize(i) @SecretMetadatas << end end @RequestId = params['RequestId'] end |