public final class UserPosixAccount
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Admin Directory API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
UserPosixAccount() |
Modifier and Type | Method and Description |
---|---|
UserPosixAccount |
clone() |
java.lang.String |
getAccountId()
A POSIX account field identifier.
|
java.lang.String |
getGecos()
The GECOS (user information) for this account.
|
java.math.BigInteger |
getGid()
The default group ID.
|
java.lang.String |
getHomeDirectory()
The path to the home directory for this account.
|
java.lang.String |
getOperatingSystemType()
The operating system type for this account.
|
java.lang.Boolean |
getPrimary()
If this is user's primary account within the SystemId.
|
java.lang.String |
getShell()
The path to the login shell for this account.
|
java.lang.String |
getSystemId()
System identifier for which account Username or Uid apply to.
|
java.math.BigInteger |
getUid()
The POSIX compliant user ID.
|
java.lang.String |
getUsername()
The username of the account.
|
UserPosixAccount |
set(java.lang.String fieldName,
java.lang.Object value) |
UserPosixAccount |
setAccountId(java.lang.String accountId)
A POSIX account field identifier.
|
UserPosixAccount |
setGecos(java.lang.String gecos)
The GECOS (user information) for this account.
|
UserPosixAccount |
setGid(java.math.BigInteger gid)
The default group ID.
|
UserPosixAccount |
setHomeDirectory(java.lang.String homeDirectory)
The path to the home directory for this account.
|
UserPosixAccount |
setOperatingSystemType(java.lang.String operatingSystemType)
The operating system type for this account.
|
UserPosixAccount |
setPrimary(java.lang.Boolean primary)
If this is user's primary account within the SystemId.
|
UserPosixAccount |
setShell(java.lang.String shell)
The path to the login shell for this account.
|
UserPosixAccount |
setSystemId(java.lang.String systemId)
System identifier for which account Username or Uid apply to.
|
UserPosixAccount |
setUid(java.math.BigInteger uid)
The POSIX compliant user ID.
|
UserPosixAccount |
setUsername(java.lang.String username)
The username of the account.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAccountId()
null
for nonepublic UserPosixAccount setAccountId(java.lang.String accountId)
accountId
- accountId or null
for nonepublic java.lang.String getGecos()
null
for nonepublic UserPosixAccount setGecos(java.lang.String gecos)
gecos
- gecos or null
for nonepublic java.math.BigInteger getGid()
null
for nonepublic UserPosixAccount setGid(java.math.BigInteger gid)
gid
- gid or null
for nonepublic java.lang.String getHomeDirectory()
null
for nonepublic UserPosixAccount setHomeDirectory(java.lang.String homeDirectory)
homeDirectory
- homeDirectory or null
for nonepublic java.lang.String getOperatingSystemType()
null
for nonepublic UserPosixAccount setOperatingSystemType(java.lang.String operatingSystemType)
operatingSystemType
- operatingSystemType or null
for nonepublic java.lang.Boolean getPrimary()
null
for nonepublic UserPosixAccount setPrimary(java.lang.Boolean primary)
primary
- primary or null
for nonepublic java.lang.String getShell()
null
for nonepublic UserPosixAccount setShell(java.lang.String shell)
shell
- shell or null
for nonepublic java.lang.String getSystemId()
null
for nonepublic UserPosixAccount setSystemId(java.lang.String systemId)
systemId
- systemId or null
for nonepublic java.math.BigInteger getUid()
null
for nonepublic UserPosixAccount setUid(java.math.BigInteger uid)
uid
- uid or null
for nonepublic java.lang.String getUsername()
null
for nonepublic UserPosixAccount setUsername(java.lang.String username)
username
- username or null
for nonepublic UserPosixAccount set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public UserPosixAccount clone()
clone
in class com.google.api.client.json.GenericJson