class TencentCloud::Sqlserver::V20180328::AccountCreateInfo
账号创建信息
def deserialize(params)
def deserialize(params) @UserName = params['UserName'] @Password = params['Password'] unless params['DBPrivileges'].nil? @DBPrivileges = [] params['DBPrivileges'].each do |i| dbprivilege_tmp = DBPrivilege.new dbprivilege_tmp.deserialize(i) @DBPrivileges << dbprivilege_tmp end end @Remark = params['Remark'] @IsAdmin = params['IsAdmin'] @Authentication = params['Authentication'] @AccountType = params['AccountType'] @IsCam = params['IsCam'] end
def initialize(username=nil, password=nil, dbprivileges=nil, remark=nil, isadmin=nil, authentication=nil, accounttype=nil, iscam=nil)
def initialize(username=nil, password=nil, dbprivileges=nil, remark=nil, isadmin=nil, authentication=nil, accounttype=nil, iscam=nil) @UserName = username @Password = password @DBPrivileges = dbprivileges @Remark = remark @IsAdmin = isadmin @Authentication = authentication @AccountType = accounttype @IsCam = iscam end