public class AssetUserBaseInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
AssetUserBaseInfo() |
AssetUserBaseInfo(AssetUserBaseInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getFirstTime()
Get First collection time
|
String |
getGid()
Get Account GID
|
String |
getHomePath()
Get Home directory
|
Long |
getIsDomain()
Get Whether a domain account.
|
Long |
getIsNew()
Get Whether new [0: no|1: yes]
|
Long |
getIsRoot()
Get Whether there is root permission.
|
Long |
getIsSshLogin()
Get Whether ssh log-in allowed.
|
Long |
getIsSudo()
Get Whether there is sudo permissions: 1: yes; 0: No; 999: null (Linux only)
|
String |
getLastLoginTime()
Get Last log-in time
|
Long |
getLoginType()
Get Log-in method.
|
MachineExtraInfo |
getMachineExtraInfo()
Get Additional information
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getMachineIp()
Get Host private IP address
|
String |
getMachineName()
Get Host name
|
String |
getMachineWanIp()
Get Host public IP address
|
String |
getName()
Get Account name
|
String |
getOsInfo()
Get Operating System Information
|
String |
getPasswordChangeTime()
Get Password modification time
|
String |
getPasswordDueTime()
Get Password expiration time (Linux only)
|
Long |
getPasswordLockDays()
Get Password locking time (unit: day): -1 - never locked; 999 - null (Linux only)
|
Long |
getPasswordStatus()
Get Password status: 1 - normal; 2 - expiring soon; 3 - expired; 4 - locked; 999 - null (Linux only)
|
Long |
getProjectId()
Get Host business group ID
|
String |
getQuuid()
Get Host QUUID
|
String |
getShell()
Get Shell path (Linux only)
|
Long |
getShellLoginStatus()
Get Whether shell log-in allowed.
|
Long |
getStatus()
Get Account status.
|
String |
getUid()
Get Account UID
|
String |
getUpdateTime()
Get Update time
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getUserType()
Get Account type.
|
String |
getUuid()
Get Host UUID
|
void |
setFirstTime(String FirstTime)
Set First collection time
|
void |
setGid(String Gid)
Set Account GID
|
void |
setHomePath(String HomePath)
Set Home directory
|
void |
setIsDomain(Long IsDomain)
Set Whether a domain account.
|
void |
setIsNew(Long IsNew)
Set Whether new [0: no|1: yes]
|
void |
setIsRoot(Long IsRoot)
Set Whether there is root permission.
|
void |
setIsSshLogin(Long IsSshLogin)
Set Whether ssh log-in allowed.
|
void |
setIsSudo(Long IsSudo)
Set Whether there is sudo permissions: 1: yes; 0: No; 999: null (Linux only)
|
void |
setLastLoginTime(String LastLoginTime)
Set Last log-in time
|
void |
setLoginType(Long LoginType)
Set Log-in method.
|
void |
setMachineExtraInfo(MachineExtraInfo MachineExtraInfo)
Set Additional information
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setMachineIp(String MachineIp)
Set Host private IP address
|
void |
setMachineName(String MachineName)
Set Host name
|
void |
setMachineWanIp(String MachineWanIp)
Set Host public IP address
|
void |
setName(String Name)
Set Account name
|
void |
setOsInfo(String OsInfo)
Set Operating System Information
|
void |
setPasswordChangeTime(String PasswordChangeTime)
Set Password modification time
|
void |
setPasswordDueTime(String PasswordDueTime)
Set Password expiration time (Linux only)
|
void |
setPasswordLockDays(Long PasswordLockDays)
Set Password locking time (unit: day): -1 - never locked; 999 - null (Linux only)
|
void |
setPasswordStatus(Long PasswordStatus)
Set Password status: 1 - normal; 2 - expiring soon; 3 - expired; 4 - locked; 999 - null (Linux only)
|
void |
setProjectId(Long ProjectId)
Set Host business group ID
|
void |
setQuuid(String Quuid)
Set Host QUUID
|
void |
setShell(String Shell)
Set Shell path (Linux only)
|
void |
setShellLoginStatus(Long ShellLoginStatus)
Set Whether shell log-in allowed.
|
void |
setStatus(Long Status)
Set Account status.
|
void |
setUid(String Uid)
Set Account UID
|
void |
setUpdateTime(String UpdateTime)
Set Update time
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setUserType(Long UserType)
Set Account type.
|
void |
setUuid(String Uuid)
Set Host UUID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AssetUserBaseInfo()
public AssetUserBaseInfo(AssetUserBaseInfo source)
public String getMachineIp()
public void setMachineIp(String MachineIp)
MachineIp
- Host private IP addresspublic String getMachineWanIp()
public void setMachineWanIp(String MachineWanIp)
MachineWanIp
- Host public IP addresspublic String getMachineName()
public void setMachineName(String MachineName)
MachineName
- Host namepublic String getOsInfo()
public void setOsInfo(String OsInfo)
OsInfo
- Operating System Informationpublic String getUuid()
public void setUuid(String Uuid)
Uuid
- Host UUIDpublic String getQuuid()
public void setQuuid(String Quuid)
Quuid
- Host QUUIDpublic String getUid()
public void setUid(String Uid)
Uid
- Account UIDpublic String getGid()
public void setGid(String Gid)
Gid
- Account GIDpublic Long getStatus()
public void setStatus(Long Status)
Status
- Account status. 0: disabled; 1: enabledpublic Long getIsRoot()
public void setIsRoot(Long IsRoot)
IsRoot
- Whether there is root permission. 0: no; 1: yes; 999: null (Linux only)public Long getLoginType()
public void setLoginType(Long LoginType)
LoginType
- Log-in method. 0: log-in not allowed; 1: only key-based log-in allowed; 2: only password-based log-in allowed; 3: both key-based log-in and password-based log-in allowed; 999: null (Linux only)public String getLastLoginTime()
public void setLastLoginTime(String LastLoginTime)
LastLoginTime
- Last log-in timepublic String getName()
public void setName(String Name)
Name
- Account namepublic Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Host business group IDpublic Long getUserType()
public void setUserType(Long UserType)
UserType
- Account type. 0: guest user; 1: standard user; 2: administrator user; 999: null (Windows only)public Long getIsDomain()
public void setIsDomain(Long IsDomain)
IsDomain
- Whether a domain account. 0: no; 1: yes; 2: no; 999: null (Windows only)public Long getIsSudo()
public void setIsSudo(Long IsSudo)
IsSudo
- Whether there is sudo permissions: 1: yes; 0: No; 999: null (Linux only)public Long getIsSshLogin()
public void setIsSshLogin(Long IsSshLogin)
IsSshLogin
- Whether ssh log-in allowed. 1: yes; 0: no; 999: null (Linux only)public String getHomePath()
public void setHomePath(String HomePath)
HomePath
- Home directorypublic String getShell()
public void setShell(String Shell)
Shell
- Shell path (Linux only)public Long getShellLoginStatus()
public void setShellLoginStatus(Long ShellLoginStatus)
ShellLoginStatus
- Whether shell log-in allowed. 0: no; 1: yes (Linux only)public String getPasswordChangeTime()
public void setPasswordChangeTime(String PasswordChangeTime)
PasswordChangeTime
- Password modification timepublic String getPasswordDueTime()
public void setPasswordDueTime(String PasswordDueTime)
PasswordDueTime
- Password expiration time (Linux only)public Long getPasswordLockDays()
public void setPasswordLockDays(Long PasswordLockDays)
PasswordLockDays
- Password locking time (unit: day): -1 - never locked; 999 - null (Linux only)public Long getPasswordStatus()
public void setPasswordStatus(Long PasswordStatus)
PasswordStatus
- Password status: 1 - normal; 2 - expiring soon; 3 - expired; 4 - locked; 999 - null (Linux only)public String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Update time
Note: This field may return null, indicating that no valid values can be obtained.public String getFirstTime()
public void setFirstTime(String FirstTime)
FirstTime
- First collection timepublic Long getIsNew()
public void setIsNew(Long IsNew)
IsNew
- Whether new [0: no|1: yes]public MachineExtraInfo getMachineExtraInfo()
public void setMachineExtraInfo(MachineExtraInfo MachineExtraInfo)
MachineExtraInfo
- Additional information
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.