class TencentCloud::Cynosdb::V20190107::CreateClusterDatabaseRequest
CreateClusterDatabase请求参数结构体
def deserialize(params)
def deserialize(params) @ClusterId = params['ClusterId'] @DbName = params['DbName'] @CharacterSet = params['CharacterSet'] @CollateRule = params['CollateRule'] unless params['UserHostPrivileges'].nil? @UserHostPrivileges = [] params['UserHostPrivileges'].each do |i| userhostprivilege_tmp = UserHostPrivilege.new userhostprivilege_tmp.deserialize(i) @UserHostPrivileges << userhostprivilege_tmp end end @Description = params['Description'] end
def initialize(clusterid=nil, dbname=nil, characterset=nil, collaterule=nil, userhostprivileges=nil, description=nil)
def initialize(clusterid=nil, dbname=nil, characterset=nil, collaterule=nil, userhostprivileges=nil, description=nil) @ClusterId = clusterid @DbName = dbname @CharacterSet = characterset @CollateRule = collaterule @UserHostPrivileges = userhostprivileges @Description = description end