Class: TencentCloud::Sqlserver::V20180328::DBDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::DBDetail
- Defined in:
- lib/v20180328/models.rb
Overview
数据库信息
Instance Attribute Summary collapse
- #Accounts ⇒ Object
- #Charset ⇒ Object
- #CreateTime ⇒ Object
- #Encryption ⇒ Object
- #InternalStatus ⇒ Object
- #Name ⇒ Object
- #Remark ⇒ Object
- #Status ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, charset = nil, remark = nil, createtime = nil, status = nil, accounts = nil, internalstatus = nil, encryption = nil) ⇒ DBDetail
constructor
A new instance of DBDetail.
Constructor Details
#initialize(name = nil, charset = nil, remark = nil, createtime = nil, status = nil, accounts = nil, internalstatus = nil, encryption = nil) ⇒ DBDetail
Returns a new instance of DBDetail.
2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 |
# File 'lib/v20180328/models.rb', line 2178 def initialize(name=nil, charset=nil, remark=nil, createtime=nil, status=nil, accounts=nil, internalstatus=nil, encryption=nil) @Name = name @Charset = charset @Remark = remark @CreateTime = createtime @Status = status @Accounts = accounts @InternalStatus = internalstatus @Encryption = encryption end |
Instance Attribute Details
#Accounts ⇒ Object
2176 2177 2178 |
# File 'lib/v20180328/models.rb', line 2176 def Accounts @Accounts end |
#Charset ⇒ Object
2176 2177 2178 |
# File 'lib/v20180328/models.rb', line 2176 def Charset @Charset end |
#CreateTime ⇒ Object
2176 2177 2178 |
# File 'lib/v20180328/models.rb', line 2176 def CreateTime @CreateTime end |
#Encryption ⇒ Object
2176 2177 2178 |
# File 'lib/v20180328/models.rb', line 2176 def Encryption @Encryption end |
#InternalStatus ⇒ Object
2176 2177 2178 |
# File 'lib/v20180328/models.rb', line 2176 def InternalStatus @InternalStatus end |
#Name ⇒ Object
2176 2177 2178 |
# File 'lib/v20180328/models.rb', line 2176 def Name @Name end |
#Remark ⇒ Object
2176 2177 2178 |
# File 'lib/v20180328/models.rb', line 2176 def Remark @Remark end |
#Status ⇒ Object
2176 2177 2178 |
# File 'lib/v20180328/models.rb', line 2176 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 |
# File 'lib/v20180328/models.rb', line 2189 def deserialize(params) @Name = params['Name'] @Charset = params['Charset'] @Remark = params['Remark'] @CreateTime = params['CreateTime'] @Status = params['Status'] unless params['Accounts'].nil? @Accounts = [] params['Accounts'].each do |i| accountprivilege_tmp = AccountPrivilege.new accountprivilege_tmp.deserialize(i) @Accounts << accountprivilege_tmp end end @InternalStatus = params['InternalStatus'] @Encryption = params['Encryption'] end |