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.
1093 1094 1095 1096 1097 |
# File 'lib/v20190923/models.rb', line 1093 def initialize(totalcount=nil, =nil, requestid=nil) @TotalCount = totalcount @SecretMetadatas = @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1091 1092 1093 |
# File 'lib/v20190923/models.rb', line 1091 def RequestId @RequestId end |
#SecretMetadatas ⇒ Object
1091 1092 1093 |
# File 'lib/v20190923/models.rb', line 1091 def SecretMetadatas @SecretMetadatas end |
#TotalCount ⇒ Object
1091 1092 1093 |
# File 'lib/v20190923/models.rb', line 1091 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 |
# File 'lib/v20190923/models.rb', line 1099 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 |